diff options
Diffstat (limited to 'sys-kernel/hardened-sources/files/linux-hardened-gentoo-v3.patch')
-rw-r--r-- | sys-kernel/hardened-sources/files/linux-hardened-gentoo-v3.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v3.patch b/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v3.patch new file mode 100644 index 0000000..f2c2c27 --- /dev/null +++ b/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v3.patch @@ -0,0 +1,10 @@ +--- a/security/Kconfig 2021-12-05 18:20:55.655677710 -0500 ++++ b/security/Kconfig 2021-12-05 18:23:42.404251618 -0500 +@@ -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, |