[
https://issues.apache.org/jira/browse/MESOS-8128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217879#comment-16217879
]
James Peach commented on MESOS-8128:
------------------------------------
Ah I didn't know that. AFAIK since we can't do a build time check for the
availability we would have to do the same sort of syscall trickery for FreeBSD?
Sounds like a nice to have, though I don't know that anyone is using FreeBSD?
> Make os::pipe file descriptors O_CLOEXEC.
> -----------------------------------------
>
> Key: MESOS-8128
> URL: https://issues.apache.org/jira/browse/MESOS-8128
> Project: Mesos
> Issue Type: Bug
> Components: stout
> Reporter: James Peach
> Priority: Minor
>
> File descriptors from {{os::pipe}} will be inherited across exec. On Linux we
> can use [pipe2|http://man7.org/linux/man-pages/man2/pipe.2.html] to
> atomically make the pipe {{O_CLOEXEC}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)