|
@@ -538,12 +538,6 @@ config HAVE_CC_STACKPROTECTOR
|
|
- its compiler supports the -fstack-protector option
|
|
- its compiler supports the -fstack-protector option
|
|
- it has implemented a stack canary (e.g. __stack_chk_guard)
|
|
- it has implemented a stack canary (e.g. __stack_chk_guard)
|
|
|
|
|
|
-config CC_STACKPROTECTOR
|
|
|
|
- def_bool n
|
|
|
|
- help
|
|
|
|
- Set when a stack-protector mode is enabled, so that the build
|
|
|
|
- can enable kernel-side support for the GCC feature.
|
|
|
|
-
|
|
|
|
choice
|
|
choice
|
|
prompt "Stack Protector buffer overflow detection"
|
|
prompt "Stack Protector buffer overflow detection"
|
|
depends on HAVE_CC_STACKPROTECTOR
|
|
depends on HAVE_CC_STACKPROTECTOR
|
|
@@ -564,7 +558,6 @@ config CC_STACKPROTECTOR_NONE
|
|
|
|
|
|
config CC_STACKPROTECTOR_REGULAR
|
|
config CC_STACKPROTECTOR_REGULAR
|
|
bool "Regular"
|
|
bool "Regular"
|
|
- select CC_STACKPROTECTOR
|
|
|
|
help
|
|
help
|
|
Functions will have the stack-protector canary logic added if they
|
|
Functions will have the stack-protector canary logic added if they
|
|
have an 8-byte or larger character array on the stack.
|
|
have an 8-byte or larger character array on the stack.
|
|
@@ -578,7 +571,6 @@ config CC_STACKPROTECTOR_REGULAR
|
|
|
|
|
|
config CC_STACKPROTECTOR_STRONG
|
|
config CC_STACKPROTECTOR_STRONG
|
|
bool "Strong"
|
|
bool "Strong"
|
|
- select CC_STACKPROTECTOR
|
|
|
|
help
|
|
help
|
|
Functions will have the stack-protector canary logic added in any
|
|
Functions will have the stack-protector canary logic added in any
|
|
of the following conditions:
|
|
of the following conditions:
|