summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.10.10/hardened-patches/0043-stop-hiding-SYSFS_SYSCALL-behind-EXPERT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.10.10/hardened-patches/0043-stop-hiding-SYSFS_SYSCALL-behind-EXPERT.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.10.10/hardened-patches/0043-stop-hiding-SYSFS_SYSCALL-behind-EXPERT.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.10.10/hardened-patches/0043-stop-hiding-SYSFS_SYSCALL-behind-EXPERT.patch b/sys-kernel/cairn-sources/files/5.10.10/hardened-patches/0043-stop-hiding-SYSFS_SYSCALL-behind-EXPERT.patch
new file mode 100644
index 000000000000..5902e0c978c4
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.10.10/hardened-patches/0043-stop-hiding-SYSFS_SYSCALL-behind-EXPERT.patch
@@ -0,0 +1,25 @@
+From 316b1e519794909b9c9d531e76abeb02a36ef12b Mon Sep 17 00:00:00 2001
+From: Levente Polyak <levente@leventepolyak.net>
+Date: Tue, 22 Dec 2020 23:35:53 +0100
+Subject: [PATCH 043/113] stop hiding SYSFS_SYSCALL behind EXPERT
+
+---
+ init/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/init/Kconfig b/init/Kconfig
+index 9b75a4921575..006d4d41e3af 100644
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -1434,7 +1434,7 @@ config SGETMASK_SYSCALL
+ If unsure, leave the default option here.
+
+ config SYSFS_SYSCALL
+- bool "Sysfs syscall support" if EXPERT
++ bool "Sysfs syscall support"
+ default y
+ help
+ sys_sysfs is an obsolete system call no longer supported in libc.
+--
+2.30.0
+