diff options
Diffstat (limited to 'sys-kernel/hardened-sources/files/linux-hardened-gentoo-v1.patch')
-rw-r--r-- | sys-kernel/hardened-sources/files/linux-hardened-gentoo-v1.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v1.patch b/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v1.patch new file mode 100644 index 0000000..5bd9820 --- /dev/null +++ b/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v1.patch @@ -0,0 +1,11 @@ +diff --git a/security/Kconfig b/security/Kconfig +index 7561f6f99..01f0bf73f 100644 +--- a/security/Kconfig ++++ b/security/Kconfig +@@ -166,5 +166,6 @@ config HARDENED_USERCOPY + config HARDENED_USERCOPY_FALLBACK + bool "Allow usercopy whitelist violations to fallback to object size" + depends on HARDENED_USERCOPY ++ depends on !GENTOO_KERNEL_SELF_PROTECTION + help + This is a temporary option that allows missing usercopy whitelists |