summaryrefslogtreecommitdiffstats
path: root/kernel/ucount.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 21:20:23 +0200
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 21:42:03 +0200
commitaba356616386e6e573a34c6d64ed12443686e5c8 (patch)
tree6dd896d8191f5893ba69251e6916b22929579a8e /kernel/ucount.c
parentutsns: Add a limit on the number of uts namespaces (diff)
downloadlinux-aba356616386e6e573a34c6d64ed12443686e5c8.tar.xz
linux-aba356616386e6e573a34c6d64ed12443686e5c8.zip
ipcns: Add a limit on the number of ipc 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 866850e2eb92..fbab75424da6 100644
--- a/kernel/ucount.c
+++ b/kernel/ucount.c
@@ -70,6 +70,7 @@ static struct ctl_table user_table[] = {
UCOUNT_ENTRY("max_user_namespaces"),
UCOUNT_ENTRY("max_pid_namespaces"),
UCOUNT_ENTRY("max_uts_namespaces"),
+ UCOUNT_ENTRY("max_ipc_namespaces"),
{ }
};
#endif /* CONFIG_SYSCTL */