summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.debug
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 18:12:41 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 18:12:41 +0100
commit54727e6e950aacd14ec9cd4260e9fe498322828c (patch)
treed51fc620d8337c919b870f68fa8a7144d08600df /arch/x86/Kconfig.debug
parentMerge tag 'platform-drivers-x86-v4.4-1' of git://git.infradead.org/users/dvha... (diff)
downloadlinux-54727e6e950aacd14ec9cd4260e9fe498322828c.tar.xz
linux-54727e6e950aacd14ec9cd4260e9fe498322828c.zip
x86: don't make DEBUG_WX default to 'y' even with DEBUG_RODATA
It turns out that we still have issues with the EFI memory map that ends up polluting our kernel page tables with writable executable pages. That will get sorted out, but in the meantime let's not make the scary complaint about them be on by default. The code is useful for developers, but not ready for end user testing yet. Acked-by: Borislav Petkov <bp@alien8.de> Acked-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--arch/x86/Kconfig.debug1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 3e0baf726eef..137dfa96aa14 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -113,7 +113,6 @@ config DEBUG_RODATA_TEST
config DEBUG_WX
bool "Warn on W+X mappings at boot"
depends on DEBUG_RODATA
- default y
select X86_PTDUMP_CORE
---help---
Generate a warning if any W+X mappings are found at boot.