mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-30 16:14:12 +00:00
menuconfig: add help description for Stack Smashing Protection options
Descriptions taken from: https://wiki.osdev.org/Stack_Smashing_Protector Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro> Link: https://github.com/openwrt/openwrt/pull/16897 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
79f06827ff
commit
cbf7be9fb3
@ -295,12 +295,22 @@ menu "Global build settings"
|
|||||||
Enable GCC Stack Smashing Protection (SSP) for userspace applications
|
Enable GCC Stack Smashing Protection (SSP) for userspace applications
|
||||||
config PKG_CC_STACKPROTECTOR_NONE
|
config PKG_CC_STACKPROTECTOR_NONE
|
||||||
bool "None"
|
bool "None"
|
||||||
|
help
|
||||||
|
No stack smashing protection.
|
||||||
config PKG_CC_STACKPROTECTOR_REGULAR
|
config PKG_CC_STACKPROTECTOR_REGULAR
|
||||||
bool "Regular"
|
bool "Regular"
|
||||||
|
help
|
||||||
|
Protects functions with vulnerable objects.
|
||||||
|
This includes functions with buffers larger than 8 bytes or calls to alloca.
|
||||||
config PKG_CC_STACKPROTECTOR_STRONG
|
config PKG_CC_STACKPROTECTOR_STRONG
|
||||||
bool "Strong"
|
bool "Strong"
|
||||||
|
help
|
||||||
|
Like Regular, but also protects functions with
|
||||||
|
local arrays or references to local frame addresses.
|
||||||
config PKG_CC_STACKPROTECTOR_ALL
|
config PKG_CC_STACKPROTECTOR_ALL
|
||||||
bool "All"
|
bool "All"
|
||||||
|
help
|
||||||
|
Protects all functions.
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice
|
||||||
@ -310,10 +320,18 @@ menu "Global build settings"
|
|||||||
Enable GCC Stack-Smashing Protection (SSP) for the kernel
|
Enable GCC Stack-Smashing Protection (SSP) for the kernel
|
||||||
config KERNEL_CC_STACKPROTECTOR_NONE
|
config KERNEL_CC_STACKPROTECTOR_NONE
|
||||||
bool "None"
|
bool "None"
|
||||||
|
help
|
||||||
|
No stack smashing protection.
|
||||||
config KERNEL_CC_STACKPROTECTOR_REGULAR
|
config KERNEL_CC_STACKPROTECTOR_REGULAR
|
||||||
bool "Regular"
|
bool "Regular"
|
||||||
|
help
|
||||||
|
Protects functions with vulnerable objects.
|
||||||
|
This includes functions with buffers larger than 8 bytes or calls to alloca.
|
||||||
config KERNEL_CC_STACKPROTECTOR_STRONG
|
config KERNEL_CC_STACKPROTECTOR_STRONG
|
||||||
bool "Strong"
|
bool "Strong"
|
||||||
|
help
|
||||||
|
Like Regular, but also protects functions with
|
||||||
|
local arrays or references to local frame addresses.
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config KERNEL_STACKPROTECTOR
|
config KERNEL_STACKPROTECTOR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user