On Mon, Apr 21, 2008 at 10:06 PM, Michael Kerrisk
<[EMAIL PROTECTED]> wrote:
> On Mon, Apr 21, 2008 at 9:20 PM, Robert P. J. Day <[EMAIL PROTECTED]> wrote:
> >
> >  in robert love's "linux kernel development" book (p. 31), i read:
> >
> > "The fork(), vfork() and __clone() library calls all invoke the
> > clone() system call with the requisite flags."  assuming that,
> > nowadays, it would be __clone2() and not __clone(), where in the
> > source for glibc-2.7 could i see the implementation of those calls?
>
> nptl/sysdeps/unix/sysv/linux/i386/fork.c, for example.
>
> clone2 is IA-64 only (AFAIK).

And for vfork: nptl/sysdeps/unix/sysv/linux/i386/vfork.S

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to