On all archs, clone (CLONE_VM|CLONE_VFORK|SIGCHLD, NULL)
will do the job, plus I think alpha, sparc and sparc64 will have regular
vfork syscall (as they have to implement it for DU/Solaris/SunOS
compatibility anyway).
I think the __NR_vfork in i386's unistd.h could go away, I think vfork has
not been in l-k for long and nobody released yet a libc with that vfork...
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.0-pre7 on a sparc64 machine (3958.37 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/