index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-08-03 11:57:31 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-08-03 11:57:31 +0200 |
commit | dc96cd8510a88c4dc9812805b26b2d02b56bf24e (patch) | |
tree | 9e4451812ec137dc850f178677d5f21a19f6d0bc /extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch | |
parent | c3e7b57839d5f55560bc048e8d951a99d779d5ea (diff) |
-rw-r--r-- | extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch | 10 |
diff --git a/extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch b/extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch index ef2a8aa6..1e64e19f 100644 --- a/extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch +++ b/extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch @@ -58,16 +58,6 @@ diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6a78cf70761d..35a1d24282f4 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c -@@ -105,6 +105,9 @@ extern int core_uses_pid; - extern char core_pattern[]; - extern unsigned int core_pipe_limit; - #endif -+#ifdef CONFIG_USER_NS -+extern int unprivileged_userns_clone; -+#endif - extern int pid_max; - extern int pid_max_min, pid_max_max; - extern int percpu_pagelist_fraction; @@ -519,6 +522,15 @@ static struct ctl_table kern_table[] = { .proc_handler = proc_dointvec, }, |