Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9164

Subprocess should unset CLOEXEC on whitelisted file descriptors.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.2, 1.7.1
    • Component/s: libprocess
    • Labels:
      None
    • Sprint:
      Mesosphere RI-6 Sprint 2018-31, Containerization R7 Sprint 32
    • Story Points:
      3

      Description

      The libprocess subprocess API accepts a set of whitelisted file descriptors that are supposed to be inherited to the child process. On windows, these are used, but otherwise the subprocess API just ignores them. We probably should make sure that the API clears the CLOEXEC flag on this descriptors so that they are inherited to the child.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                qianzhang Qian Zhang
                Reporter:
                jamespeach James Peach
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: