summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.10.4/hardened-patches/0110-disable-UID16-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.10.4/hardened-patches/0110-disable-UID16-by-default.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.10.4/hardened-patches/0110-disable-UID16-by-default.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.10.4/hardened-patches/0110-disable-UID16-by-default.patch b/sys-kernel/cairn-sources/files/5.10.4/hardened-patches/0110-disable-UID16-by-default.patch
new file mode 100644
index 000000000000..5dd21e19b797
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.10.4/hardened-patches/0110-disable-UID16-by-default.patch
@@ -0,0 +1,24 @@
+From ad6d97cc824eb4c5332a07816733b20d61384fb4 Mon Sep 17 00:00:00 2001
+From: Levente Polyak <levente@leventepolyak.net>
+Date: Tue, 22 Dec 2020 23:41:32 +0100
+Subject: [PATCH 110/112] disable UID16 by default
+
+---
+ init/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/init/Kconfig b/init/Kconfig
+index eecd7915db04..2feea719cc25 100644
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -1421,7 +1421,6 @@ menuconfig EXPERT
+ config UID16
+ bool "Enable 16-bit UID system calls"
+ depends on HAVE_UID16 && MULTIUSER
+- default y
+ help
+ This enables the legacy 16-bit UID syscall wrappers.
+
+--
+2.30.0
+