[ 
https://issues.apache.org/jira/browse/MESOS-8128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654222#comment-16654222
 ] 

Gilbert Song commented on MESOS-8128:
-------------------------------------

commit f9627b90521292add41432d15b4c12e036f94ca7
Author: Gilbert Song <[email protected]>
Date:   Wed Oct 17 00:58:55 2018 -0700

    Fixed the FreeBSD MACRO as '__FreeBSD__' in posix/pipe.hpp.
    
    Review: https://reviews.apache.org/r/69059

> 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
>            Assignee: James Peach
>            Priority: Critical
>              Labels: mesosphere
>             Fix For: 1.4.3, 1.5.2, 1.6.2, 1.7.0
>
>
> 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
(v7.6.3#76005)

Reply via email to