From: Alexander Popov Date: Thu, 28 Nov 2019 09:07:11 +0000 (+0300) Subject: Add INIT_ON_ALLOC_DEFAULT_ON and INIT_ON_FREE_DEFAULT_ON introduced in v5.3 X-Git-Tag: v0.5.3~16 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0b92bd48a0973e96dbc190b610eec0b3c9b84a7c;p=kconfig-hardened-check.git Add INIT_ON_ALLOC_DEFAULT_ON and INIT_ON_FREE_DEFAULT_ON introduced in v5.3 --- diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index cb176bc..4eb9fb1 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -275,6 +275,8 @@ def construct_checklist(checklist, arch): checklist.append(OR(OptCheck('INIT_STACK_ALL', 'y', 'my', 'self_protection'), \ OptCheck('GCC_PLUGIN_STRUCTLEAK_BYREF_ALL', 'y', 'kspp', 'self_protection'))) checklist.append(OptCheck('SLUB_DEBUG_ON', 'y', 'my', 'self_protection')) + checklist.append(OptCheck('INIT_ON_ALLOC_DEFAULT_ON', 'y', 'my', 'self_protection')) + checklist.append(OptCheck('INIT_ON_FREE_DEFAULT_ON', 'y', 'my', 'self_protection')) checklist.append(OptCheck('SECURITY_LOADPIN', 'y', 'my', 'self_protection')) # needs userspace support checklist.append(OptCheck('RESET_ATTACK_MITIGATION', 'y', 'my', 'self_protection')) # needs userspace support (systemd) checklist.append(AND(OptCheck('PAGE_POISONING_NO_SANITY', 'is not set', 'my', 'self_protection'), \