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

--- 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.

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