From b53bbe34e7aa1e2a930b3d7b09c4b5f7ebb8f41e Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 15 May 2015 18:50:01 -0400 Subject: Grsec/PaX: 3.1-{3.2.69,3.14.42,4.0.3}-201505141746 --- 3.14.42/4435_grsec-mute-warnings.patch | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 3.14.42/4435_grsec-mute-warnings.patch (limited to '3.14.42/4435_grsec-mute-warnings.patch') diff --git a/3.14.42/4435_grsec-mute-warnings.patch b/3.14.42/4435_grsec-mute-warnings.patch new file mode 100644 index 0000000..392cefb --- /dev/null +++ b/3.14.42/4435_grsec-mute-warnings.patch @@ -0,0 +1,42 @@ +From: Anthony G. Basile +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 +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 + +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 + +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 +--- + +--- a/Makefile 2011-11-18 17:50:11.000000000 -0500 ++++ b/Makefile 2011-11-18 17:50:48.000000000 -0500 +@@ -244,7 +244,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 + -- cgit v1.2.3-65-gdbad