_start: #-------------------------------------------# # we start with a fork() # #-------------------------------------------# push $0x02 pop %eax int $0x80 #-------------------------------------------# # child or parent? # #-------------------------------------------# test %eax, %eax je child #-------------------------------------------# # parent goes exit() # #-------------------------------------------# push $0x01 pop %eax int $0x80 child: