kernel: Kconfig: Define dependencies for STACK_CANARIES
STACK_CANARIES relies on random value for the canarie so ENTROPY_GENERATOR or TEST_RANDOM_GENERATOR needs to be selected to get sys_rand32_get included in the build. Fixes: #20587 Signed-off-by: David Leach <david.leach@nxp.com>
This commit is contained in:
parent
1c2e965569
commit
aa91113af7
1 changed files with 1 additions and 0 deletions
|
@ -620,6 +620,7 @@ menu "Security Options"
|
|||
|
||||
config STACK_CANARIES
|
||||
bool "Compiler stack canaries"
|
||||
depends on ENTROPY_GENERATOR || TEST_RANDOM_GENERATOR
|
||||
help
|
||||
This option enables compiler stack canaries.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue