#include "SYS.h" ENTRY(fork) push %fs:0x2c call ___tls_copy add $4,%esp pop %ecx mov $SYS_fork,%eax call ___kernel push %ecx ret