summaryrefslogtreecommitdiffstats
path: root/kernel/ucount.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-08-08 15:33:23 -0400
committerEric W. Biederman <ebiederm@xmission.com>2016-08-08 15:42:04 -0400
commit703286608a220d53584cca5986aad5305eec75ed (patch)
tree2f0476d44dcd98e891697ef7aaef9653b06b1b4e /kernel/ucount.c
parentd08311dd6fd8444e39710dd2fb97562895aed8fa (diff)
netns: Add a limit on the number of net 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 335cc5d2cdd7..205f1a07faac 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_net_namespaces"),
74 UCOUNT_ENTRY("max_cgroup_namespaces"), 75 UCOUNT_ENTRY("max_cgroup_namespaces"),
75 { } 76 { }
76}; 77};