mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Kconfig: Fix Kconfig style
Remove spaces from Kconfig Add TABs Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
@@ -2470,44 +2470,44 @@ config STACK_CANARIES
|
|||||||
in footprint and an associated decrease in performance.
|
in footprint and an associated decrease in performance.
|
||||||
|
|
||||||
choice STACK_CANARIES_LEVEL
|
choice STACK_CANARIES_LEVEL
|
||||||
prompt "Stack Canaries Level Configuration"
|
prompt "Stack Canaries Level Configuration"
|
||||||
default STACK_PROTECTOR_ALL
|
default STACK_PROTECTOR_ALL
|
||||||
depends on STACK_CANARIES
|
depends on STACK_CANARIES
|
||||||
---help---
|
---help---
|
||||||
Based on the configuration options, configure the stack Canaries Level.
|
Based on the configuration options, configure the stack Canaries Level.
|
||||||
|
|
||||||
config STACK_PROTECTOR
|
config STACK_PROTECTOR
|
||||||
bool "-fstack-protector"
|
bool "-fstack-protector"
|
||||||
---help---
|
---help---
|
||||||
Enable basic stack protection.
|
Enable basic stack protection.
|
||||||
|
|
||||||
config STACK_PROTECTOR_STRONG
|
config STACK_PROTECTOR_STRONG
|
||||||
bool "-fstack-protector-strong"
|
bool "-fstack-protector-strong"
|
||||||
---help---
|
---help---
|
||||||
Using stronger stack protection mechanisms may involve more complex
|
Using stronger stack protection mechanisms may involve more complex
|
||||||
security checks.
|
security checks.
|
||||||
|
|
||||||
config STACK_PROTECTOR_ALL
|
config STACK_PROTECTOR_ALL
|
||||||
bool "-fstack-protector-all"
|
bool "-fstack-protector-all"
|
||||||
---help---
|
---help---
|
||||||
Enable stack protection for all functions, including those that are
|
Enable stack protection for all functions, including those that are
|
||||||
typically not protected.
|
typically not protected.
|
||||||
|
|
||||||
config STACK_PROTECTOR_EXPLICIT
|
config STACK_PROTECTOR_EXPLICIT
|
||||||
bool "-fstack-protector-explicit"
|
bool "-fstack-protector-explicit"
|
||||||
---help---
|
---help---
|
||||||
Enable stack protection only for functions explicitly marked as
|
Enable stack protection only for functions explicitly marked as
|
||||||
requiring stack protection.
|
requiring stack protection.
|
||||||
|
|
||||||
endchoice # Stack Canaries Level Configuration
|
endchoice # Stack Canaries Level Configuration
|
||||||
|
|
||||||
config STACK_CANARIES_LEVEL
|
config STACK_CANARIES_LEVEL
|
||||||
string
|
string
|
||||||
default "-fstack-protector" if STACK_PROTECTOR
|
default "-fstack-protector" if STACK_PROTECTOR
|
||||||
default "-fstack-protector-strong" if STACK_PROTECTOR_STRONG
|
default "-fstack-protector-strong" if STACK_PROTECTOR_STRONG
|
||||||
default "-fstack-protector-all" if STACK_PROTECTOR_ALL
|
default "-fstack-protector-all" if STACK_PROTECTOR_ALL
|
||||||
default "-fstack-protector-explicit" if STACK_PROTECTOR_EXPLICIT
|
default "-fstack-protector-explicit" if STACK_PROTECTOR_EXPLICIT
|
||||||
depends on STACK_CANARIES
|
depends on STACK_CANARIES
|
||||||
|
|
||||||
config STACK_USAGE
|
config STACK_USAGE
|
||||||
bool "Generate stack usage information"
|
bool "Generate stack usage information"
|
||||||
|
|||||||
Reference in New Issue
Block a user