Skip to content

Commit

Permalink
enable INIT_ON_FREE_DEFAULT_ON by default
Browse files Browse the repository at this point in the history
  • Loading branch information
anthraxx committed Jan 6, 2020
1 parent ac14c3f commit da08137
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 @@ -182,6 +182,7 @@ config INIT_ON_ALLOC_DEFAULT_ON

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

0 comments on commit da08137

Please sign in to comment.