diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2016-08-08 15:08:36 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2016-08-08 15:42:01 -0400 |
commit | f333c700c6100b53050980986be922bb21466e29 (patch) | |
tree | 60554e8ad7eeda0cac508cade356a1358171df22 /kernel/ucount.c | |
parent | 25f9c0817c535a728c1088542230fa327c577c9e (diff) |
pidns: Add a limit on the number of pid 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 0f9ab3b26185..66eca94e4ada 100644 --- a/kernel/ucount.c +++ b/kernel/ucount.c | |||
@@ -68,6 +68,7 @@ static int int_max = INT_MAX; | |||
68 | } | 68 | } |
69 | static struct ctl_table user_table[] = { | 69 | static struct ctl_table user_table[] = { |
70 | UCOUNT_ENTRY("max_user_namespaces"), | 70 | UCOUNT_ENTRY("max_user_namespaces"), |
71 | UCOUNT_ENTRY("max_pid_namespaces"), | ||
71 | { } | 72 | { } |
72 | }; | 73 | }; |
73 | #endif /* CONFIG_SYSCTL */ | 74 | #endif /* CONFIG_SYSCTL */ |