diff options
Diffstat (limited to 'libre/linux-libre-lts/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch')
-rw-r--r-- | libre/linux-libre-lts/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/linux-libre-lts/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch b/libre/linux-libre-lts/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch index a6abd1bbd..3020b9065 100644 --- a/libre/linux-libre-lts/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch +++ b/libre/linux-libre-lts/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch @@ -13,10 +13,10 @@ Our default behavior continues to match the vanilla kernel. 4 files changed, 50 insertions(+) diff --git a/init/Kconfig b/init/Kconfig -index 6db3e310a5e4..2dd7dd1b6b0d 100644 +index 96fc45d1b686..3bc58f03a2cd 100644 --- a/init/Kconfig +++ b/init/Kconfig -@@ -1083,6 +1083,22 @@ config USER_NS +@@ -1084,6 +1084,22 @@ config USER_NS If unsure, say N. @@ -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 419fff8eb9e5..70da21e5c06a 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; |