Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When you use the subprocess API, you can use Subprocess::FD() to define how the standard IO streams are attached to the child process. The default type argument is IO::DUPLICATED. In that case, the descriptors are duplicated with dup(2) in the parent process. The new file descriptors will have their close-on-exec flag cleared and could then be inherited to undefined child processes.
Attachments
Issue Links
- is related to
-
MESOS-9164 Subprocess should unset CLOEXEC on whitelisted file descriptors.
- Resolved