summaryrefslogtreecommitdiff
path: root/sys-kernel/hardened-sources/files/9999_revert-conflicts-v2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/hardened-sources/files/9999_revert-conflicts-v2.patch')
-rw-r--r--sys-kernel/hardened-sources/files/9999_revert-conflicts-v2.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/files/9999_revert-conflicts-v2.patch b/sys-kernel/hardened-sources/files/9999_revert-conflicts-v2.patch
new file mode 100644
index 0000000..365adfe
--- /dev/null
+++ b/sys-kernel/hardened-sources/files/9999_revert-conflicts-v2.patch
@@ -0,0 +1,13 @@
+Reverse conflicting patches
+
+--- a/mm/Kconfig
++++ b/mm/Kconfig
+@@ -321,8 +321,6 @@ config KSM
+ config DEFAULT_MMAP_MIN_ADDR
+ int "Low address space to protect from user allocation"
+ depends on MMU
+- default 65536 if ( X86_64 || X86_32 || PPC64 || IA64 ) && GENTOO_KERNEL_SELF_PROTECTION
+- default 32768 if ( ARM64 || ARM ) && GENTOO_KERNEL_SELF_PROTECTION
+ default 4096
+ help
+ This is the portion of low virtual memory which should be protected