Bug 131938
Summary: | posix_spawn implementation inquiry (why fork/exec rather than vfork/exec). | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Dennis <dennis> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED UPSTREAM | QA Contact: | Brian Brock <bbrock> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-09 08:32:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dennis
2004-09-07 06:28:33 UTC
Please file this to http://sources.redhat.com/bugzilla/ instead, this is an enhancement request that should be tracked upstream. It is impossible to use vfork in the linuxthreads libc, because sigaction modifies global state, but most probably it should be doable for NPTL libc, provided a few calls (e.g. *gid) are changed into inline syscalls and adding code to run atfork registered handlers before/after vfork in spawni.c. Thanks for the information. That is exactly what we needed to know. I will file an enhancement request at the URL you supplied. If possible it would be great to have Solaris 10 posix_spawn and NPTL glibc posix_spawn implemented and perform similarly. Very nice for us since fork/exec can be extremely slow. This bug item can be closed. Again much appreciated. Dennis. The upstream issue is: https://sourceware.org/bugzilla/show_bug.cgi?id=378 |