From 495d4374f240000440798a81bffda7f9e411e1d5 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 19 Jun 2021 14:46:07 +0300 Subject: [PATCH] More info on init_on_free and init_on_alloc --- kconfig_hardened_check/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 28ab04e..813261a 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -15,9 +15,8 @@ # page_alloc.shuffle=1 # iommu=force (does it help against DMA attacks?) # slub_debug=FZ (slow) -# page_poison=1 (if enabled) -# init_on_alloc=1 -# init_on_free=1 +# init_on_alloc=1 (since v5.3) +# init_on_free=1 (since v5.3, otherwise slub_debug=P and page_poison=1) # loadpin.enforce=1 # debugfs=no-mount (or off if possible) # -- 2.31.1