diff options
author | 2014-09-09 05:34:28 -0400 | |
---|---|---|
committer | 2014-09-09 05:34:28 -0400 | |
commit | c696e6fdf2e316c40e44284f13054817327a8be4 (patch) | |
tree | 3e9e2ef8b4011019042baef2d8c6fe5bc2541983 /3.16.2/4435_grsec-mute-warnings.patch | |
parent | Grsec/PaX: 3.0-{3.14.17,3.16.1}-201409021826 (diff) | |
download | hardened-patchset-c696e6fdf2e316c40e44284f13054817327a8be4.tar.gz hardened-patchset-c696e6fdf2e316c40e44284f13054817327a8be4.tar.bz2 hardened-patchset-c696e6fdf2e316c40e44284f13054817327a8be4.zip |
Grsec/PaX: 3.0-{3.14.18,3.16.2}-201409060014
Diffstat (limited to '3.16.2/4435_grsec-mute-warnings.patch')
-rw-r--r-- | 3.16.2/4435_grsec-mute-warnings.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/3.16.2/4435_grsec-mute-warnings.patch b/3.16.2/4435_grsec-mute-warnings.patch new file mode 100644 index 0000000..41d43d5 --- /dev/null +++ b/3.16.2/4435_grsec-mute-warnings.patch @@ -0,0 +1,42 @@ +From: Anthony G. Basile <blueness@gentoo.org> +Updated patch for 2.6.38.6 + +The credits/description from the original version of this patch remain accurate +and are included below. + +--- +From: Jory A. Pratt <anarchy@gentoo.org> +Updated patch for kernel 2.6.32 + +The credits/description from the original version of this patch remain accurate +and are included below. + +--- +From: Gordon Malm <gengor@gentoo.org> + +Updated patch for kernel series 2.6.24. + +The credits/description from the original version of this patch remain accurate +and are included below. + +--- +From: Alexander Gabert <gaberta@fh-trier.de> + +This patch removes the warnings introduced by grsec patch 2.1.9 and later. +It removes the -W options added by the patch and restores the original +warning flags of vanilla kernel versions. + +Acked-by: Christian Heim <phreak@gentoo.org> +--- + +--- a/Makefile 2014-07-25 11:37:45.206051736 -0400 ++++ b/Makefile 2014-07-25 11:38:13.786050367 -0400 +@@ -245,7 +245,7 @@ + + HOSTCC = gcc + HOSTCXX = g++ +-HOSTCFLAGS = -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -O2 -fomit-frame-pointer -fno-delete-null-pointer-checks ++HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -Wno-missing-field-initializers -O2 -fomit-frame-pointer -fno-delete-null-pointer-checks + HOSTCFLAGS += $(call cc-option, -Wno-empty-body) + HOSTCXXFLAGS = -O2 -Wall -W -Wno-array-bounds + |