From f32ade173867b7a6b45de7079b73fd7acb623484 Mon Sep 17 00:00:00 2001 From: Mike Pagano Date: Mon, 27 Jun 2022 15:21:35 -0400 Subject: Remove references to HARDENED_USERCOPY_PAGESPAN Removed from upstream Signed-off-by: Mike Pagano --- 4567_distro-Gentoo-Kconfig.patch | 10 ---------- 1 file changed, 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 -- cgit v1.2.3-65-gdbad