Skip to content

Commit a746e05

Browse files
committed
enable INIT_ON_FREE_DEFAULT_ON by default
1 parent b9b5b84 commit a746e05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

security/Kconfig.hardening

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ config INIT_ON_ALLOC_DEFAULT_ON
182182

183183
config INIT_ON_FREE_DEFAULT_ON
184184
bool "Enable heap memory zeroing on free by default"
185+
default yes
185186
help
186187
This has the effect of setting "init_on_free=1" on the kernel
187188
command line. This can be disabled with "init_on_free=0".

0 commit comments

Comments
 (0)