hardened-config: allow slub/slab free poisoning

This commit is contained in:
Joachim Fasting 2019-01-05 13:44:54 +01:00
parent 11840f5c70
commit d62086e6fc
No known key found for this signature in database
GPG key ID: 5C204DF675C90294

View file

@ -99,6 +99,9 @@ ${optionalString (versionAtLeast version "4.14") ''
SLAB_FREELIST_HARDENED y
''}
# Allow enabling slub/slab free poisoning with slub_debug=P
SLUB_DEBUG y
# Wipe higher-level memory allocations on free() with page_poison=1
PAGE_POISONING y
PAGE_POISONING_NO_SANITY y