This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/20178] New: posix_spawn{p} should not call exit
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 30 May 2016 13:02:11 +0000
- Subject: [Bug libc/20178] New: posix_spawn{p} should not call exit
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20178
Bug ID: 20178
Summary: posix_spawn{p} should not call exit
Product: glibc
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: adhemerval.zanella at linaro dot org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
The new posix_spawn{p} implementation [1] call exit on failure case where it
should call _exit. Although POSIX allows posix_spawn to call atfork handlers,
it introduces opportunities for atfork-related race conditions and add
performance overhead from handler calling (BZ#14499).
[1] Commit 9ff72da471a509a8c19791efe469f47fa6977410
--
You are receiving this mail because:
You are on the CC list for the bug.