summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2016-02-12 11:55:25 -0800
committerLaura Abbott <labbott@fedoraproject.org>2016-02-12 11:59:29 -0800
commit568b33d005418cf0437540f76752179f5e952adf (patch)
tree1bb432c83442f44376d3b2d41a2b2c76603e680c
parentd8be0409b776e8611b198e786e652fbe1c490a7b (diff)
downloadkernel-568b33d005418cf0437540f76752179f5e952adf.tar.gz
kernel-568b33d005418cf0437540f76752179f5e952adf.tar.xz
kernel-568b33d005418cf0437540f76752179f5e952adf.zip
Turn off W+X warnings (rhbz 1306885)
The W+X warning is useful for finding potentially insecure mappings. Fixes for some of the warning have stalled leading to lots of reports of warnings though. There isn't much use for this in stable releases since any fix will be trickling in through rawhide anyway. Turn it off for stable releases and leave it on for rawhide.
-rw-r--r--config-x86-generic3
-rw-r--r--kernel.spec3
2 files changed, 5 insertions, 1 deletions
diff --git a/config-x86-generic b/config-x86-generic
index a436377af..646378bb7 100644
--- a/config-x86-generic
+++ b/config-x86-generic
@@ -72,7 +72,8 @@ CONFIG_MMIOTRACE=y
# CONFIG_MMIOTRACE_TEST is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_DEBUG_RODATA=y
-CONFIG_DEBUG_WX=y
+# Generating too many warnings while waiting for fixes
+# CONFIG_DEBUG_WX is not set
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_ACPI=y
diff --git a/kernel.spec b/kernel.spec
index 08acedb86..d73173fa3 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2074,6 +2074,9 @@ fi
#
#
%changelog
+* Fri Feb 12 2016 Laura Abbott <labbott@fedoraproject.org>
+- Turn off W+X warnings (rhbz 1306885)
+
* Tue Feb 09 2016 Josh Boyer <jwboyer@fedoraproject.org>
- CVE-2016-0617 fix hugetlbfs inode.c issues (rhbz 1305803 1305804)