summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-05-05 14:06:17 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-05-05 14:06:17 -0400
commitfa4103fb4568b84354addc47d52c0cd2e4b28426 (patch)
tree6e245b9353c4c511e502eedb7fcc56f067f24a69 /4.0.1/4425_grsec_remove_EI_PAX.patch
parentGrsec/PaX: 3.1-{3.2.68,3.14.40,3.19.6}-201505021013 (diff)
downloadhardened-patchset-fa4103fb4568b84354addc47d52c0cd2e4b28426.tar.gz
hardened-patchset-fa4103fb4568b84354addc47d52c0cd2e4b28426.tar.bz2
hardened-patchset-fa4103fb4568b84354addc47d52c0cd2e4b28426.zip
Grsec/PaX: 3.1-{3.2.68,3.14.40,4.0.1}-20150504205320150504
Diffstat (limited to '4.0.1/4425_grsec_remove_EI_PAX.patch')
-rw-r--r--4.0.1/4425_grsec_remove_EI_PAX.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/4.0.1/4425_grsec_remove_EI_PAX.patch b/4.0.1/4425_grsec_remove_EI_PAX.patch
new file mode 100644
index 0000000..86e242a
--- /dev/null
+++ b/4.0.1/4425_grsec_remove_EI_PAX.patch
@@ -0,0 +1,19 @@
+From: Anthony G. Basile <blueness@gentoo.org>
+
+Deprecate EI_PAX.
+
+X-Gentoo-Bug: 445600
+X-Gentoo-Bug-URL: https://bugs.gentoo.org/445600
+
+diff -Nuar linux-3.7.1-hardened.orig/security/Kconfig linux-3.7.1-hardened/security/Kconfig
+--- linux-3.7.1-hardened.orig/security/Kconfig 2012-12-26 08:39:29.000000000 -0500
++++ linux-3.7.1-hardened/security/Kconfig 2012-12-26 09:05:44.000000000 -0500
+@@ -273,7 +273,7 @@
+
+ config PAX_EI_PAX
+ bool 'Use legacy ELF header marking'
+- default y if GRKERNSEC_CONFIG_AUTO
++ depends on BROKEN
+ help
+ Enabling this option will allow you to control PaX features on
+ a per executable basis via the 'chpax' utility available at