You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2017/10/24 23:14:00 UTC
[jira] [Commented] (MESOS-8128) Make os::pipe file descriptors
O_CLOEXEC.
[ https://issues.apache.org/jira/browse/MESOS-8128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217858#comment-16217858 ]
Benjamin Mahler commented on MESOS-8128:
----------------------------------------
Is it not in BSD as well?
https://www.freebsd.org/cgi/man.cgi?pipe(2)
> 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)