summaryrefslogtreecommitdiff
path: root/extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-08-03 11:57:31 +0200
committerErich Eckner <git@eckner.net>2020-08-03 11:57:31 +0200
commitdc96cd8510a88c4dc9812805b26b2d02b56bf24e (patch)
tree9e4451812ec137dc850f178677d5f21a19f6d0bc /extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
parentc3e7b57839d5f55560bc048e8d951a99d779d5ea (diff)
downloadpackages-dc96cd8510a88c4dc9812805b26b2d02b56bf24e.tar.xz
extra/linux-pae: remove obsolete patches, try to fix 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
Diffstat (limited to 'extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch')
-rw-r--r--extra/linux-pae/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch10
1 files changed, 0 insertions, 10 deletions
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,
},