[tip: x86/mm] x86/defconfig: Enable CONFIG_DEBUG_WX=y

From: tip-bot2 for Ingo Molnar
Date: Fri Sep 02 2022 - 04:49:56 EST


The following commit has been merged into the x86/mm branch of tip:

Commit-ID: c0d2e63d4c618185cdd92faae10bdde33a00c25d
Gitweb: https://git.kernel.org/tip/c0d2e63d4c618185cdd92faae10bdde33a00c25d
Author: Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Fri, 02 Sep 2022 10:41:42 +02:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Fri, 02 Sep 2022 10:41:42 +02:00

x86/defconfig: Enable CONFIG_DEBUG_WX=y

7 years after it got introduced it's time to make this the default,
at least in the x86 defconfigs.

Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/configs/i386_defconfig | 1 +
arch/x86/configs/x86_64_defconfig | 1 +
2 files changed, 2 insertions(+)

diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
index a292489..3cf3491 100644
--- a/arch/x86/configs/i386_defconfig
+++ b/arch/x86/configs/i386_defconfig
@@ -273,6 +273,7 @@ CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_FRAME_WARN=1024
CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_WX=y
CONFIG_DEBUG_STACK_USAGE=y
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHEDSTATS=y
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index 2a7333b..2775923 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -269,6 +269,7 @@ CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_WX=y
CONFIG_DEBUG_STACK_USAGE=y
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHEDSTATS=y