diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-11-27 08:40:39 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-11-27 08:40:39 -0500 |
commit | b09ce05600fc4d3a5dbb532e7c2d0c20ee67feff (patch) | |
tree | f603d71e857a66eaa5741b6a171e19b942e46b04 /3.6.8/4435_grsec-mute-warnings.patch | |
parent | Grsec/PaX: 2.9.1-{2.6.32.60,3.2.34,3.6.7}-201211221000 (diff) | |
download | hardened-patchset-b09ce05600fc4d3a5dbb532e7c2d0c20ee67feff.tar.gz hardened-patchset-b09ce05600fc4d3a5dbb532e7c2d0c20ee67feff.tar.bz2 hardened-patchset-b09ce05600fc4d3a5dbb532e7c2d0c20ee67feff.zip |
Grsec/PaX: 2.9.1-{2.6.32.60,3.2.34,3.6.8}-20121126171420121126
Diffstat (limited to '3.6.8/4435_grsec-mute-warnings.patch')
-rw-r--r-- | 3.6.8/4435_grsec-mute-warnings.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/3.6.8/4435_grsec-mute-warnings.patch b/3.6.8/4435_grsec-mute-warnings.patch new file mode 100644 index 0000000..e1a7a3c --- /dev/null +++ b/3.6.8/4435_grsec-mute-warnings.patch @@ -0,0 +1,43 @@ +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 2011-11-18 17:50:11.000000000 -0500 ++++ b/Makefile 2011-11-18 17:50:48.000000000 -0500 +@@ -241,7 +241,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 + HOSTCLFAGS += $(call cc-option, -Wno-empty-body) + HOSTCXXFLAGS = -O2 -Wall -W -fno-delete-null-pointer-checks + + |