[Bug stdio/22834] Subprocess forked by popen may crash in Linux when multithreads call popen

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Sun Feb 11 15:02:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22834

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Do we actually need the proc_file_chain variable anymore?  I think CLOEXEC
takes care of closing all of the descriptors: The parent pipe end always has it
set, and the child end loses it only in the child process, so pending child
pipe ends from other threads have CLOEXEC set as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list