summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2022-06-27 15:21:35 -0400
committerMike Pagano <mpagano@gentoo.org>2022-06-27 15:21:35 -0400
commitf32ade173867b7a6b45de7079b73fd7acb623484 (patch)
tree9cdca9cb26affbce77851bcceac90a84ad0dd06b
parentUpdate Gentoo Hardened patchset based on KSPP thanks to Peter Bo (diff)
downloadlinux-patches-f32ade173867b7a6b45de7079b73fd7acb623484.tar.gz
linux-patches-f32ade173867b7a6b45de7079b73fd7acb623484.tar.bz2
linux-patches-f32ade173867b7a6b45de7079b73fd7acb623484.zip
Remove references to HARDENED_USERCOPY_PAGESPAN
Removed from upstream Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r--4567_distro-Gentoo-Kconfig.patch10
1 files changed, 0 insertions, 10 deletions
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch
index 1efc0fba..0a380985 100644
--- a/4567_distro-Gentoo-Kconfig.patch
+++ b/4567_distro-Gentoo-Kconfig.patch
@@ -299,16 +299,6 @@
+ See the settings that become available for more details and fine-tuning.
+
+endmenu
---- a/security/Kconfig 2022-04-25 11:20:45.487213970 -0400
-+++ b/security/Kconfig 2022-04-25 11:22:02.514143999 -0400
-@@ -167,6 +167,7 @@ config HARDENED_USERCOPY_PAGESPAN
- bool "Refuse to copy allocations that span multiple pages"
- depends on HARDENED_USERCOPY
- depends on BROKEN
-+ depends on !GENTOO_KERNEL_SELF_PROTECTION
- help
- When a multi-page allocation is done without __GFP_COMP,
- hardened usercopy will reject attempts to copy it. There are,
diff --git a/security/selinux/Kconfig b/security/selinux/Kconfig
index 9e921fc72..f29bc13fa 100644
--- a/security/selinux/Kconfig