Make kernel wipe memory on free

This helps against cold boot attacks when a proper shutdown is done.
This commit is contained in:
Hal Emmerich 2019-11-18 22:24:27 -06:00
parent 52eb0ca932
commit 742a3b8924

View File

@ -5431,7 +5431,9 @@ CONFIG_DEBUG_MISC=y
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_PAGE_POISONING is not set
CONFIG_PAGE_POISONING=y
CONFIG_PAGE_POISONING_NO_SANITY=y
CONFIG_PAGE_POISONING_ZERO=y
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_OBJECTS is not set