This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: posix_spawn's usage of fork versus vfork
* Mike Axiak:
> 1: http://bugs.sun.com/view_bug.do?bug_id=5049299
I think there have been attempts to fix this in OpenJDK. Here are two
related messages:
| From: Martin Buchholz <martinrb@google.com>
| Subject: posix_spawn should use vfork() in more cases than presently
| To: Roland McGrath <roland@redhat.com>, libc-alpha@sourceware.org
| Cc: Jakub Jelinek <jakub@redhat.com>, core-libs-dev@openjdk.java.net,
| Markus Gutschke (éåå)
| <markus@google.com>
| Date: Tue, 30 Jun 2009 16:47:33 -0700
| Message-ID: <1ccfd1c10906301647t15f0eab3p1e0771fed6a6bd14@mail.gmail.com>
|
| I just filed glibc bug
|
| posix_spawn should use vfork() in more cases than presently
| http://sources.redhat.com/bugzilla/show_bug.cgi?id=10354
| [...]
| From: Martin Buchholz <martinrb@google.com>
| Subject: Re: Review request for 5049299
| To: Andrew Haley <aph@redhat.com>
| Cc: Michael McMahon <Michael.McMahon@sun.com>, core-libs-dev@openjdk.java.net
| Date: Sat, 30 May 2009 10:51:25 -0700
| Message-ID: <1ccfd1c10905301051j527d2e91m217020d037ac1732@mail.gmail.com>
|
| I have a prototype implementation that works only for Linux,
| only when the environment is inherited,
| but seems to show that the clone/fork approach works.
| [...]
--
Florian Weimer <fweimer@bfk.de>
BFK edv-consulting GmbH http://www.bfk.de/
KriegsstraÃe 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99