This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


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

[Bug libc/20178] New: posix_spawn{p} should not call exit


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.

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