summaryrefslogtreecommitdiffstats
path: root/kernel/ucount.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 14:25:30 -0500
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 14:42:03 -0500
commitd08311dd6fd8444e39710dd2fb97562895aed8fa (patch)
treecc695dce4603db22fe5bb0789467ae4d9481f084 /kernel/ucount.c
parentaba356616386e6e573a34c6d64ed12443686e5c8 (diff)
downloadop-kernel-dev-d08311dd6fd8444e39710dd2fb97562895aed8fa.zip
op-kernel-dev-d08311dd6fd8444e39710dd2fb97562895aed8fa.tar.gz
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ucount.c b/kernel/ucount.c
index fbab754..335cc5d 100644
--- a/kernel/ucount.c
+++ b/kernel/ucount.c
@@ -71,6 +71,7 @@ static struct ctl_table user_table[] = {
UCOUNT_ENTRY("max_pid_namespaces"),
UCOUNT_ENTRY("max_uts_namespaces"),
UCOUNT_ENTRY("max_ipc_namespaces"),
+ UCOUNT_ENTRY("max_cgroup_namespaces"),
{ }
};
#endif /* CONFIG_SYSCTL */
OpenPOWER on IntegriCloud