|
From: Tom H. <th...@cy...> - 2004-02-15 09:32:17
|
In message <Pin...@ye...>
Nicholas Nethercote <nj...@ca...> wrote:
> 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()?
I don't see why it shouldn't work if you just add that to the list of
cases which we handle in PRE(clone).
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|