summaryrefslogtreecommitdiffstats
path: root/kernel/ucount.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 21:11:25 +0200
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 21:42:02 +0200
commitf7af3d1c03136275b876f58644599b120cf4ffdd (patch)
treeca152c99d9a25b1bad1ddf1b1ea4026e8da6e7cb /kernel/ucount.c
parentpidns: Add a limit on the number of pid namespaces (diff)
downloadlinux-f7af3d1c03136275b876f58644599b120cf4ffdd.tar.xz
linux-f7af3d1c03136275b876f58644599b120cf4ffdd.zip
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 'kernel/ucount.c')
-rw-r--r--kernel/ucount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ucount.c b/kernel/ucount.c
index 66eca94e4ada..866850e2eb92 100644
--- a/kernel/ucount.c
+++ b/kernel/ucount.c
@@ -69,6 +69,7 @@ static int int_max = INT_MAX;
static struct ctl_table user_table[] = {
UCOUNT_ENTRY("max_user_namespaces"),
UCOUNT_ENTRY("max_pid_namespaces"),
+ UCOUNT_ENTRY("max_uts_namespaces"),
{ }
};
#endif /* CONFIG_SYSCTL */