summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-08 18:26:43 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-08 18:26:43 -0400
commit8d3f7ba96a49376ab175bf7ee59b0bfa42b4f434 (patch)
treec41270770f228fc60b2a16ae739cfcf5e99d99ab /3.2.46/4440_grsec-remove-protected-paths.patch
parentGrsec/PaX: 2.9.1-{2.6.32.60,3.2.45,3.9.4}-201306041949 (diff)
downloadhardened-patchset-8d3f7ba96a49376ab175bf7ee59b0bfa42b4f434.tar.gz
hardened-patchset-8d3f7ba96a49376ab175bf7ee59b0bfa42b4f434.tar.bz2
hardened-patchset-8d3f7ba96a49376ab175bf7ee59b0bfa42b4f434.zip
Fix 3.2.45 -> 3.2.4620130604
Diffstat (limited to '3.2.46/4440_grsec-remove-protected-paths.patch')
-rw-r--r--3.2.46/4440_grsec-remove-protected-paths.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/3.2.46/4440_grsec-remove-protected-paths.patch b/3.2.46/4440_grsec-remove-protected-paths.patch
new file mode 100644
index 0000000..637934a
--- /dev/null
+++ b/3.2.46/4440_grsec-remove-protected-paths.patch
@@ -0,0 +1,19 @@
+From: Anthony G. Basile <blueness@gentoo.org>
+
+We don't want GRSEC's Makefile to change permissions on paths in
+the filesystem.
+
+diff -Naur a/grsecurity/Makefile b/grsecurity/Makefile
+--- a/grsecurity/Makefile 2011-10-19 20:42:50.000000000 -0400
++++ b/grsecurity/Makefile 2011-10-19 20:45:08.000000000 -0400
+@@ -29,10 +29,4 @@
+ ifdef CONFIG_GRKERNSEC_HIDESYM
+ extra-y := grsec_hidesym.o
+ $(obj)/grsec_hidesym.o:
+- @-chmod -f 500 /boot
+- @-chmod -f 500 /lib/modules
+- @-chmod -f 500 /lib64/modules
+- @-chmod -f 500 /lib32/modules
+- @-chmod -f 700 .
+- @echo ' grsec: protected kernel image paths'
+ endif