diff options
-rw-r--r-- | arch/x86/Kconfig | 3 | ||||
-rw-r--r-- | arch/x86/Kconfig.debug | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index dcbec34154cf..83d8392c1334 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1142,7 +1142,7 @@ config SECCOMP | |||
1142 | 1142 | ||
1143 | config CC_STACKPROTECTOR | 1143 | config CC_STACKPROTECTOR |
1144 | bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)" | 1144 | bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)" |
1145 | depends on X86_64 && EXPERIMENTAL && BROKEN | 1145 | depends on X86_64 |
1146 | help | 1146 | help |
1147 | This option turns on the -fstack-protector GCC feature. This | 1147 | This option turns on the -fstack-protector GCC feature. This |
1148 | feature puts, at the beginning of critical functions, a canary | 1148 | feature puts, at the beginning of critical functions, a canary |
@@ -1159,6 +1159,7 @@ config CC_STACKPROTECTOR | |||
1159 | config CC_STACKPROTECTOR_ALL | 1159 | config CC_STACKPROTECTOR_ALL |
1160 | bool "Use stack-protector for all functions" | 1160 | bool "Use stack-protector for all functions" |
1161 | depends on CC_STACKPROTECTOR | 1161 | depends on CC_STACKPROTECTOR |
1162 | default y | ||
1162 | help | 1163 | help |
1163 | Normally, GCC only inserts the canary value protection for | 1164 | Normally, GCC only inserts the canary value protection for |
1164 | functions that use large-ish on-stack buffers. By enabling | 1165 | functions that use large-ish on-stack buffers. By enabling |
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index ac1e31ba4795..b5c5b55d0437 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -102,6 +102,7 @@ config DIRECT_GBPAGES | |||
102 | config DEBUG_RODATA_TEST | 102 | config DEBUG_RODATA_TEST |
103 | bool "Testcase for the DEBUG_RODATA feature" | 103 | bool "Testcase for the DEBUG_RODATA feature" |
104 | depends on DEBUG_RODATA | 104 | depends on DEBUG_RODATA |
105 | default y | ||
105 | help | 106 | help |
106 | This option enables a testcase for the DEBUG_RODATA | 107 | This option enables a testcase for the DEBUG_RODATA |
107 | feature as well as for the change_page_attr() infrastructure. | 108 | feature as well as for the change_page_attr() infrastructure. |