diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-03-10 12:48:27 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-03-10 12:48:27 -0400 |
commit | 9eef19a7507c231b5a48f19c4c2cd281c9c53a64 (patch) | |
tree | 5b0f8bb7dee30d348d05108fdd0fbaebf69a33ed /3.18.9/4440_grsec-remove-protected-paths.patch | |
parent | Grsec/PaX: 3.1-{3.2.67,3.14.34,3.18.8}-201502271843 (diff) | |
download | hardened-patchset-9eef19a7507c231b5a48f19c4c2cd281c9c53a64.tar.gz hardened-patchset-9eef19a7507c231b5a48f19c4c2cd281c9c53a64.tar.bz2 hardened-patchset-9eef19a7507c231b5a48f19c4c2cd281c9c53a64.zip |
Grsec/PaX: 3.1-{3.2.68,3.14.35,3.18.9}-201503071142
Diffstat (limited to '3.18.9/4440_grsec-remove-protected-paths.patch')
-rw-r--r-- | 3.18.9/4440_grsec-remove-protected-paths.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3.18.9/4440_grsec-remove-protected-paths.patch b/3.18.9/4440_grsec-remove-protected-paths.patch new file mode 100644 index 0000000..741546d --- /dev/null +++ b/3.18.9/4440_grsec-remove-protected-paths.patch @@ -0,0 +1,20 @@ +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 +@@ -44,11 +44,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 . +- @-chmod -f 700 $(objtree) +- @echo ' grsec: protected kernel image paths' + endif |