summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-04-22 12:08:04 -0400
committerAnthony G. Basile <blueness@gentoo.org>2017-04-22 12:08:04 -0400
commita6383ddcf48aac166b64e6008cbceb4476975279 (patch)
tree378807c872bdda51eaeff69ff7752e95142c8710 /4.9.24/4425_grsec_remove_EI_PAX.patch
parentgrsecurity-3.1-4.9.23-201704181901 (diff)
downloadhardened-patchset-a6383ddcf48aac166b64e6008cbceb4476975279.tar.gz
hardened-patchset-a6383ddcf48aac166b64e6008cbceb4476975279.tar.bz2
hardened-patchset-a6383ddcf48aac166b64e6008cbceb4476975279.zip
grsecurity-3.1-4.9.24-201704220732HEAD20170422master
Diffstat (limited to '4.9.24/4425_grsec_remove_EI_PAX.patch')
-rw-r--r--4.9.24/4425_grsec_remove_EI_PAX.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/4.9.24/4425_grsec_remove_EI_PAX.patch b/4.9.24/4425_grsec_remove_EI_PAX.patch
new file mode 100644
index 0000000..594598a
--- /dev/null
+++ b/4.9.24/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
+@@ -274,7 +274,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