|
@@ -685,6 +685,20 @@ config SECCOMP
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
+config CC_STACKPROTECTOR
|
|
|
+ bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
|
|
|
+ depends on SUPERH32 && EXPERIMENTAL
|
|
|
+ help
|
|
|
+ This option turns on the -fstack-protector GCC feature. This
|
|
|
+ feature puts, at the beginning of functions, a canary value on
|
|
|
+ the stack just before the return address, and validates
|
|
|
+ the value just before actually returning. Stack based buffer
|
|
|
+ overflows (that need to overwrite this return address) now also
|
|
|
+ overwrite the canary, which gets detected and the attack is then
|
|
|
+ neutralized via a kernel panic.
|
|
|
+
|
|
|
+ This feature requires gcc version 4.2 or above.
|
|
|
+
|
|
|
config SMP
|
|
|
bool "Symmetric multi-processing support"
|
|
|
depends on SYS_SUPPORTS_SMP
|