diff options
author | Joel Peshkin <joel.peshkin@broadcom.com> | 2021-04-11 12:21:58 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-20 14:31:12 +0300 |
commit | 4e9bce12432492aa7a7c2121d9fae1640606ace5 (patch) | |
tree | ca4ff1ffa3d447d51e945ce4cd9f75f6e80babe9 /cmd/Kconfig | |
parent | 1598c83ecec64619379834ec21de8efe2536ac3d (diff) | |
download | u-boot-4e9bce12432492aa7a7c2121d9fae1640606ace5.tar.xz |
Add support for stack-protector
Add support for stack protector for UBOOT, SPL, and TPL
as well as new pytest for stackprotector
Signed-off-by: Joel Peshkin <joel.peshkin@broadcom.com>
Adjust UEFI build flags.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 2b66285e0d..9e8b69258f 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2325,6 +2325,15 @@ config CMD_AVB avb read_part_hex - read data from partition and output to stdout avb write_part - write data to partition avb verify - run full verification chain + +config CMD_STACKPROTECTOR_TEST + bool "Test command for stack protector" + depends on STACKPROTECTOR + help + Enable stackprot_test command + The stackprot_test command will force a stack overrun to test + the stack smashing detection mechanisms. + endmenu config CMD_UBI |