[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:13:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=22834
--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
So the strangeness here is that the O_CLOEXEC is optional in the parent
process. The implementation assumes that other popen descriptors always closed
by popen in its subprocess, but for execve, the closing is optional.
I'm not sure what POSIX intends here.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list