This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getpid/vfork broken


Roland McGrath wrote:
> In NPTL-supporting Linux kernels (2.6), I think we can just use the clone
> syscall with CLONE_VFORK|CLONE_CHILD_SETTID.

No.  There is a reason why a vfork syscall was introduced.  There aren't
enough registers to use clone and hold the return address.

-- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]