summaryrefslogtreecommitdiff
path: root/sys-kernel/hardened-sources/files/linux-hardened-gentoo-v1.patch
blob: 5bd9820ddbd6668748415c262a6892afda42e399 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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