diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2016-08-08 15:25:30 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2016-08-08 15:42:03 -0400 |
commit | d08311dd6fd8444e39710dd2fb97562895aed8fa (patch) | |
tree | cc695dce4603db22fe5bb0789467ae4d9481f084 /kernel/ucount.c | |
parent | aba356616386e6e573a34c6d64ed12443686e5c8 (diff) |
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 'kernel/ucount.c')
-rw-r--r-- | kernel/ucount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ucount.c b/kernel/ucount.c index fbab75424da6..335cc5d2cdd7 100644 --- a/kernel/ucount.c +++ b/kernel/ucount.c | |||
@@ -71,6 +71,7 @@ static struct ctl_table user_table[] = { | |||
71 | UCOUNT_ENTRY("max_pid_namespaces"), | 71 | UCOUNT_ENTRY("max_pid_namespaces"), |
72 | UCOUNT_ENTRY("max_uts_namespaces"), | 72 | UCOUNT_ENTRY("max_uts_namespaces"), |
73 | UCOUNT_ENTRY("max_ipc_namespaces"), | 73 | UCOUNT_ENTRY("max_ipc_namespaces"), |
74 | UCOUNT_ENTRY("max_cgroup_namespaces"), | ||
74 | { } | 75 | { } |
75 | }; | 76 | }; |
76 | #endif /* CONFIG_SYSCTL */ | 77 | #endif /* CONFIG_SYSCTL */ |