Skip to content

Commit

Permalink
enable INIT_ON_ALLOC_DEFAULT_ON by default
Browse files Browse the repository at this point in the history
  • Loading branch information
anthraxx committed Apr 5, 2020
1 parent 88625a6 commit 2167374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/Kconfig.hardening
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ config STACKLEAK_RUNTIME_DISABLE

config INIT_ON_ALLOC_DEFAULT_ON
bool "Enable heap memory zeroing on allocation by default"
default yes
help
This has the effect of setting "init_on_alloc=1" on the kernel
command line. This can be disabled with "init_on_alloc=0".
Expand Down

0 comments on commit 2167374

Please sign in to comment.