summaryrefslogtreecommitdiff
path: root/include/linux/user_namespace.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 14:11:25 -0500
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 14:42:02 -0500
commitf7af3d1c03136275b876f58644599b120cf4ffdd (patch)
treeca152c99d9a25b1bad1ddf1b1ea4026e8da6e7cb /include/linux/user_namespace.h
parentf333c700c6100b53050980986be922bb21466e29 (diff)
utsns: Add a limit on the number of uts 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 9ee94827728d..f9df7dd2609a 100644
--- a/include/linux/user_namespace.h
+++ b/include/linux/user_namespace.h
@@ -27,6 +27,7 @@ struct ucounts;
enum ucount_type {
UCOUNT_USER_NAMESPACES,
UCOUNT_PID_NAMESPACES,
+ UCOUNT_UTS_NAMESPACES,
UCOUNT_COUNTS,
};