security: kernel: Fix STACK_POINTER_RANDOM dependency
STACK_POINTER_RANDOM depends on a random generator, this can be either a non-random generator (used for testing purpose) or a real random generator. Make this dependency explicitly in Kconfig to avoid linking problems. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
32d23cb3aa
commit
2e0095a99c
1 changed files with 1 additions and 0 deletions
|
@ -645,6 +645,7 @@ config EXECUTE_XOR_WRITE
|
|||
config STACK_POINTER_RANDOM
|
||||
int "Initial stack pointer randomization bounds"
|
||||
depends on !STACK_GROWS_UP
|
||||
depends on TEST_RANDOM_GENERATOR || ENTROPY_HAS_DRIVER
|
||||
default 0
|
||||
help
|
||||
This option performs a limited form of Address Space Layout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue