This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/378] posix_spawn implementation, use vfork/execve rather than fork/execve for NPTL Linux.
- From: "drepper at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Sep 2004 01:22:06 -0000
- Subject: [Bug nptl/378] posix_spawn implementation, use vfork/execve rather than fork/execve for NPTL Linux.
- References: <20040910004801.378.dennis@mds.rmit.edu.au>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From drepper at redhat dot com 2004-09-13 01:22 -------
> If ought to be POSIX_SPAWN_NO_ATFORK,
This is problematic. The atfork handlers might not be the only reason why vfork
cannot be used. It is for the nptl implementation, it isn't for the LT code.
As is, vfork usage can be forced by the programmer if s/he knows it is OK. If
we'd use POSIX_SPAWN_NO_ATFORK we would also need to add more flags for other
details which are problematic and the programmer would have to select them all
to get vfork used. This is too much specialized knowledge required.
I prefer the "use vfork and do whatever necessary" flag.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=378
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.