diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-16 20:59:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-16 20:59:31 +0200 |
commit | 5ee50f525f79169cb984813620ca7df144f82132 (patch) | |
tree | a19549c73fc3d748772ee697ce3f0826f791f4e1 /src/basic/cgroup-util.h | |
parent | 7ed1f63d506f8023db57e496519c7ef63820762e (diff) | |
parent | 32ee7d3309816994a02b3ff000e9734120d71214 (diff) |
Merge pull request #1269 from zonque/netcls
cgroup: add support for net_cls controllers
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 33ca28cab7..01359fa7cb 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -36,6 +36,7 @@ typedef enum CGroupController { CGROUP_CONTROLLER_MEMORY, CGROUP_CONTROLLER_DEVICES, CGROUP_CONTROLLER_PIDS, + CGROUP_CONTROLLER_NET_CLS, _CGROUP_CONTROLLER_MAX, _CGROUP_CONTROLLER_INVALID = -1, } CGroupController; @@ -50,6 +51,7 @@ typedef enum CGroupMask { CGROUP_MASK_MEMORY = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_MEMORY), CGROUP_MASK_DEVICES = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_DEVICES), CGROUP_MASK_PIDS = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_PIDS), + CGROUP_MASK_NET_CLS = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_NET_CLS), _CGROUP_MASK_ALL = CGROUP_CONTROLLER_TO_MASK(_CGROUP_CONTROLLER_MAX) - 1 } CGroupMask; |