diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-08-10 08:11:41 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-08-10 08:11:41 -0400 |
commit | c2bd2a296e42cd15b7a3bc5bf9277ee8fe5959fa (patch) | |
tree | 3d2d38b04a1836f7e6caa18edaf6befbb2bb34a4 /3.5.1/4440_grsec-remove-protected-paths.patch | |
parent | 3.5.0: clean up line numbers (diff) | |
download | hardened-patchset-c2bd2a296e42cd15b7a3bc5bf9277ee8fe5959fa.tar.gz hardened-patchset-c2bd2a296e42cd15b7a3bc5bf9277ee8fe5959fa.tar.bz2 hardened-patchset-c2bd2a296e42cd15b7a3bc5bf9277ee8fe5959fa.zip |
Grsec/PaX: 2.9.1-3.5.1-20120809172820120809
Diffstat (limited to '3.5.1/4440_grsec-remove-protected-paths.patch')
-rw-r--r-- | 3.5.1/4440_grsec-remove-protected-paths.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3.5.1/4440_grsec-remove-protected-paths.patch b/3.5.1/4440_grsec-remove-protected-paths.patch new file mode 100644 index 0000000..637934a --- /dev/null +++ b/3.5.1/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 |