summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '3.2.54/4440_grsec-remove-protected-paths.patch')
-rw-r--r--3.2.54/4440_grsec-remove-protected-paths.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/3.2.54/4440_grsec-remove-protected-paths.patch b/3.2.54/4440_grsec-remove-protected-paths.patch
index 05710b1..741546d 100644
--- a/3.2.54/4440_grsec-remove-protected-paths.patch
+++ b/3.2.54/4440_grsec-remove-protected-paths.patch
@@ -4,9 +4,9 @@ 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
-@@ -34,10 +34,4 @@
+--- 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:
@@ -15,5 +15,6 @@ diff -Naur a/grsecurity/Makefile b/grsecurity/Makefile
- @-chmod -f 500 /lib64/modules
- @-chmod -f 500 /lib32/modules
- @-chmod -f 700 .
+- @-chmod -f 700 $(objtree)
- @echo ' grsec: protected kernel image paths'
endif