aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linux-virt-grsec/pax-out-of-tree-workaround.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-29 11:49:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-29 11:49:41 +0000
commit1e30a1ac20bbe29cc2d4f5ce73c12ba5d8813a08 (patch)
tree4f29388ccbdb1b85b59f501c919be68d7b09cdfd /testing/linux-virt-grsec/pax-out-of-tree-workaround.patch
parent9e1deb968c5a9ca95a3e6748f701fb02afca5a23 (diff)
downloadaports-1e30a1ac20bbe29cc2d4f5ce73c12ba5d8813a08.tar.bz2
aports-1e30a1ac20bbe29cc2d4f5ce73c12ba5d8813a08.tar.xz
testing/linux-virt-grsec: new aport
Linux kernel with grsecurity http://grsecurity.net
Diffstat (limited to 'testing/linux-virt-grsec/pax-out-of-tree-workaround.patch')
-rw-r--r--testing/linux-virt-grsec/pax-out-of-tree-workaround.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/linux-virt-grsec/pax-out-of-tree-workaround.patch b/testing/linux-virt-grsec/pax-out-of-tree-workaround.patch
new file mode 100644
index 0000000000..f83ca09492
--- /dev/null
+++ b/testing/linux-virt-grsec/pax-out-of-tree-workaround.patch
@@ -0,0 +1,18 @@
+The overflow plugin needed the hunk below but it broke out-of-tree builds
+Since we don't use the overflow plugin we revert it.
+
+diff --git a/Makefile b/Makefile
+index 073f74f..b379941 100644
+--- a/Makefile
++++ b/Makefile
+@@ -357,8 +358,8 @@ CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
+
+ # Use LINUXINCLUDE when you must reference the include/ directory.
+ # Needed to be compatible with the O= option
+-LINUXINCLUDE := -isystem arch/$(hdr-arch)/include \
+- -isystem arch/$(hdr-arch)/include/generated -isystem include \
++LINUXINCLUDE := -I$(srctree)/arch/$(hdr-arch)/include \
++ -Iarch/$(hdr-arch)/include/generated -Iinclude \
+ $(if $(KBUILD_SRC), -I$(srctree)/include) \
+ -include $(srctree)/include/linux/kconfig.h
+