summaryrefslogtreecommitdiff
path: root/include/linux/user_namespace.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 22:25:30 +0300
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 22:42:03 +0300
commitd08311dd6fd8444e39710dd2fb97562895aed8fa (patch)
treecc695dce4603db22fe5bb0789467ae4d9481f084 /include/linux/user_namespace.h
parentaba356616386e6e573a34c6d64ed12443686e5c8 (diff)
downloadlinux-d08311dd6fd8444e39710dd2fb97562895aed8fa.tar.xz
cgroupns: Add a limit on the number of cgroup namespaces
Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/user_namespace.h')
-rw-r--r--include/linux/user_namespace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h
index e1d672186f00..d067f0d3038e 100644
--- a/include/linux/user_namespace.h
+++ b/include/linux/user_namespace.h
@@ -29,6 +29,7 @@ enum ucount_type {
UCOUNT_PID_NAMESPACES,
UCOUNT_UTS_NAMESPACES,
UCOUNT_IPC_NAMESPACES,
+ UCOUNT_CGROUP_NAMESPACES,
UCOUNT_COUNTS,
};