aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-02-08 22:07:04 +0100
committerJan200101 <sentrycraft123@gmail.com>2024-02-08 22:07:04 +0100
commita76b9e93d4de9f14a7e4aaa6d19fc721fc2e17d3 (patch)
treec77f07714c04275e3aa69b885a4ef7673985245d /SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch
parent32a4026b609472b5b278fb1a9c2e5d740782edd2 (diff)
downloadkernel-fsync-a76b9e93d4de9f14a7e4aaa6d19fc721fc2e17d3.tar.gz
kernel-fsync-a76b9e93d4de9f14a7e4aaa6d19fc721fc2e17d3.zip
kernel 6.7.3
Diffstat (limited to 'SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch')
-rw-r--r--SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch b/SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch
index 6fe4c39..c12229d 100644
--- a/SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch
+++ b/SOURCES/tkg-unprivileged-CLONE_NEWUSER.patch
@@ -69,7 +69,7 @@ index 08969f5aa38d59..ff601cb7a1fae0 100644
@@ -100,6 +100,10 @@
#include <linux/user_events.h>
#include <linux/iommu.h>
-
+
+#ifdef CONFIG_USER_NS
+#include <linux/user_namespace.h>
+#endif
@@ -146,6 +146,6 @@ index 54211dbd516c57..16ca0c1516298d 100644
+int unprivileged_userns_clone;
+#endif
+
- static struct kmem_cache *user_ns_cachep __read_mostly;
+ static struct kmem_cache *user_ns_cachep __ro_after_init;
static DEFINE_MUTEX(userns_state_mutex);