|
From: Nicholas N. <nj...@ca...> - 2004-02-15 00:03:29
|
On Wed, 11 Feb 2004, Tom Hughes wrote: > OK. It isn't vfork as such, it's a custom fork that system uses... > > If you look at sysdeps/unix/sysv/linux/system.c in a recent glibc you > will see that it defines FORK() before including the generic version > of the system() code. That version of FORK() actually uses clone with > the CLONE_PARENT_SETTID flag to get the value of the child's PID in > a variable in the parent for cancellation. Right... so we should be able to handle this variant of clone()? N |