[ https://issues.apache.org/jira/browse/MESOS-6791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994202#comment-15994202 ]
Dejia Li commented on MESOS-6791: --------------------------------- {code:none} ../../src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp:116:13: error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. [-Werror] entry.selector.major = major(device.get()); {code} This commit introduced some codes that can not be compiled on recent glibc. We need to declare <sys/sysmacros.h> explicitly. See this https://issues.apache.org/jira/browse/MESOS-7365 for more details. > Allow to specific the device whitelist entries in cgroup devices subsystem > -------------------------------------------------------------------------- > > Key: MESOS-6791 > URL: https://issues.apache.org/jira/browse/MESOS-6791 > Project: Mesos > Issue Type: Task > Components: cgroups > Reporter: haosdent > Assignee: Zhongbo Tian > Labels: cgroups > Fix For: 1.3.0 > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)