You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2018/10/17 21:28: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=16654222#comment-16654222 ] 

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

commit f9627b90521292add41432d15b4c12e036f94ca7
Author: Gilbert Song <so...@gmail.com>
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)