aboutsummarylogtreecommitdiffstats
path: root/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
diff options
context:
space:
mode:
authoralegru2020-10-31 13:43:55 +0100
committeralegru2020-10-31 13:46:14 +0100
commitc100620c193daa4e39e4fb0aa85028e1bb12831c (patch)
treecf8fe2fc9d60b7c543ac6f056199290a67f8335b /0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
parentad1b84d7de9ace02ec92d2edd90d46e1875941f9 (diff)
downloadaur-c100620c193daa4e39e4fb0aa85028e1bb12831c.tar.gz
Update to 5.4.73-1
Diffstat (limited to '0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch')
-rw-r--r--0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch b/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
index a6abd1bbd698..dc6d767065cb 100644
--- a/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
+++ b/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
@@ -40,7 +40,7 @@ index 6db3e310a5e4..2dd7dd1b6b0d 100644
bool "PID Namespaces"
default y
diff --git a/kernel/fork.c b/kernel/fork.c
-index 594272569a80..96a55931654c 100644
+index e3d5963d8c6f..26bca4170e37 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -106,6 +106,11 @@
@@ -55,7 +55,7 @@ index 594272569a80..96a55931654c 100644
/*
* Minimum number of threads to boot the kernel
-@@ -1780,6 +1785,10 @@ static __latent_entropy struct task_struct *copy_process(
+@@ -1799,6 +1804,10 @@ static __latent_entropy struct task_struct *copy_process(
if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS))
return ERR_PTR(-EINVAL);
@@ -66,7 +66,7 @@ index 594272569a80..96a55931654c 100644
/*
* Thread groups must share signals as well, and detached threads
* can only be started up within the thread group.
-@@ -2838,6 +2847,12 @@ int ksys_unshare(unsigned long unshare_flags)
+@@ -2859,6 +2868,12 @@ int ksys_unshare(unsigned long unshare_flags)
if (unshare_flags & CLONE_NEWNS)
unshare_flags |= CLONE_FS;