mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilbert Song (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-8128) Make os::pipe file descriptors O_CLOEXEC.
Date Wed, 17 Oct 2018 21:28:00 GMT

    [ 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 <songzihao1990@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)

Mime
View raw message