summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-11-27 20:39:44 -0500
committerAnthony G. Basile <blueness@gentoo.org>2011-11-27 20:39:44 -0500
commit5db15ffa1575115b4d74bdc68ebaac3cc977ea84 (patch)
tree95a17b9fa159d1f6472a92314015e73af51d7d69 /3.1.3/4422_grsec-mute-warnings.patch
parentGrsec/PaX: 2.2.2-{2.6.32.48,3.1.1}-201111201943 (diff)
downloadhardened-patchset-5db15ffa1575115b4d74bdc68ebaac3cc977ea84.tar.gz
hardened-patchset-5db15ffa1575115b4d74bdc68ebaac3cc977ea84.tar.bz2
hardened-patchset-5db15ffa1575115b4d74bdc68ebaac3cc977ea84.zip
Grsec/PaX: 2.2.2-{2.6.32.49,3.1.3}-201111262001.patch20111126
Diffstat (limited to '3.1.3/4422_grsec-mute-warnings.patch')
-rw-r--r--3.1.3/4422_grsec-mute-warnings.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/3.1.3/4422_grsec-mute-warnings.patch b/3.1.3/4422_grsec-mute-warnings.patch
new file mode 100644
index 0000000..e85abd6
--- /dev/null
+++ b/3.1.3/4422_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
+@@ -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
+ HOSTCLFAGS += $(call cc-option, -Wno-empty-body)
+ HOSTCXXFLAGS = -O2 -Wall -W -fno-delete-null-pointer-checks
+
+