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 stdio/22834] Subprocess forked by popen may crash in Linux when multithreads call popen


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.

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