commit | f7af3d1c03136275b876f58644599b120cf4ffdd | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Mon Aug 08 14:11:25 2016 -0500 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Mon Aug 08 14:42:02 2016 -0500 |
tree | ca152c99d9a25b1bad1ddf1b1ea4026e8da6e7cb | |
parent | f333c700c6100b53050980986be922bb21466e29 [diff] [blame] |
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>
diff --git a/kernel/ucount.c b/kernel/ucount.c index 66eca94..866850e 100644 --- a/kernel/ucount.c +++ b/kernel/ucount.c
@@ -69,6 +69,7 @@ static struct ctl_table user_table[] = { UCOUNT_ENTRY("max_user_namespaces"), UCOUNT_ENTRY("max_pid_namespaces"), + UCOUNT_ENTRY("max_uts_namespaces"), { } }; #endif /* CONFIG_SYSCTL */