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

make ns::stringify type safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      ns::stringify takes an int argument for clone(2) flags. Depending on which namespaces are in scope, this can silently be called with other int arguments that are not clone flags. This will cause it to return an empty string.

      We should find a way to make this type safe so we can know that ns::stringify can only get clone flags.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: