diff options
author | graysky | 2023-01-01 06:47:08 -0500 |
---|---|---|
committer | graysky | 2023-01-01 06:47:08 -0500 |
commit | 81a383454bc197a7dfd5d46acb14ea488db90a9f (patch) | |
tree | 3ebd8dad363364bd2607e1c45ba93b15983fda76 /0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch | |
parent | 20f235ed4c4be0ab0467be162669667e4b0faaf9 (diff) | |
download | aur-81a383454bc197a7dfd5d46acb14ea488db90a9f.tar.gz |
Update to 6.1.2-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.patch | 8 |
1 files changed, 4 insertions, 4 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 7649aaeb5834..94b3e44a4640 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 @@ -1,4 +1,4 @@ -From c1992e54412eedc904c7a0997ead8ecf6ef50ea6 Mon Sep 17 00:00:00 2001 +From d93b3bdc50f2d4a69e1abc900a588d6cf3b4b75b Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> Date: Mon, 16 Sep 2019 04:53:20 +0200 Subject: [PATCH 1/4] ZEN: Add sysctl and CONFIG to disallow unprivileged @@ -63,7 +63,7 @@ index 94125d3b6893..9f7139b536f6 100644 bool "PID Namespaces" default y diff --git a/kernel/fork.c b/kernel/fork.c -index 08969f5aa38d..ff601cb7a1fa 100644 +index 844dfdc8c639..31d41db3f84d 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -98,6 +98,10 @@ @@ -77,7 +77,7 @@ index 08969f5aa38d..ff601cb7a1fa 100644 #include <asm/pgalloc.h> #include <linux/uaccess.h> #include <asm/mmu_context.h> -@@ -2008,6 +2012,10 @@ static __latent_entropy struct task_struct *copy_process( +@@ -2011,6 +2015,10 @@ static __latent_entropy struct task_struct *copy_process( if ((clone_flags & (CLONE_NEWUSER|CLONE_FS)) == (CLONE_NEWUSER|CLONE_FS)) return ERR_PTR(-EINVAL); @@ -88,7 +88,7 @@ index 08969f5aa38d..ff601cb7a1fa 100644 /* * Thread groups must share signals as well, and detached threads * can only be started up within the thread group. -@@ -3166,6 +3174,12 @@ int ksys_unshare(unsigned long unshare_flags) +@@ -3171,6 +3179,12 @@ int ksys_unshare(unsigned long unshare_flags) if (unshare_flags & CLONE_NEWNS) unshare_flags |= CLONE_FS; |