mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Peach (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-8153) make ns::stringify type safe
Date Tue, 31 Oct 2017 21:39:00 GMT
James Peach created MESOS-8153:
----------------------------------

             Summary: make ns::stringify type safe
                 Key: MESOS-8153
                 URL: https://issues.apache.org/jira/browse/MESOS-8153
             Project: Mesos
          Issue Type: Bug
            Reporter: James Peach


{{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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message