summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-09-12 13:29:47 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-09-12 13:29:47 -0400
commit54161092e44bc640aca2f56b45e4f7455995fb89 (patch)
treefe2fff2eaf21f75050a9dc0b14e028bc96512223 /3.2.51/4440_grsec-remove-protected-paths.patch
parent3.10.11: add missing patch from genpatches (diff)
downloadhardened-patchset-54161092e44bc640aca2f56b45e4f7455995fb89.tar.gz
hardened-patchset-54161092e44bc640aca2f56b45e4f7455995fb89.tar.bz2
hardened-patchset-54161092e44bc640aca2f56b45e4f7455995fb89.zip
Grsec/PaX: 2.9.1-3.2.50-201309101928
Diffstat (limited to '3.2.51/4440_grsec-remove-protected-paths.patch')
-rw-r--r--3.2.51/4440_grsec-remove-protected-paths.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/3.2.51/4440_grsec-remove-protected-paths.patch b/3.2.51/4440_grsec-remove-protected-paths.patch
new file mode 100644
index 0000000..e2c2dc9
--- /dev/null
+++ b/3.2.51/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
+@@ -33,10 +33,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