aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/user_namespace.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 14:33:23 -0500
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 14:42:04 -0500
commit703286608a220d53584cca5986aad5305eec75ed (patch)
tree2f0476d44dcd98e891697ef7aaef9653b06b1b4e /include/linux/user_namespace.h
parentcgroupns: Add a limit on the number of cgroup namespaces (diff)
downloadlinux-dev-703286608a220d53584cca5986aad5305eec75ed.tar.xz
linux-dev-703286608a220d53584cca5986aad5305eec75ed.zip
netns: Add a limit on the number of net 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 d067f0d3038e..c6bc980b06a9 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_NET_NAMESPACES,
UCOUNT_CGROUP_NAMESPACES,
UCOUNT_COUNTS,
};