Add SECURITY_LOADPIN check
authorAlexander Popov <alex.popov@linux.com>
Wed, 12 Dec 2018 21:54:51 +0000 (00:54 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 12 Dec 2018 21:54:51 +0000 (00:54 +0300)
kconfig-hardened-check.py

index 9cdf182f0911061e7295bdf02173300dcee8f32e..e509174115c128b2fd7b9c976cad9467a09fcfff 100755 (executable)
@@ -155,6 +155,7 @@ def construct_checklist():
     checklist.append(OptCheck('SLUB_DEBUG_ON',                    'y', 'my', 'self_protection'))
     checklist.append(OptCheck('SECURITY_DMESG_RESTRICT',          'y', 'my', 'self_protection'))
     checklist.append(OptCheck('STATIC_USERMODEHELPER',            'y', 'my', 'self_protection')) # breaks systemd?
+    checklist.append(OptCheck('SECURITY_LOADPIN',                 'y', 'my', 'self_protection'))
     checklist.append(OptCheck('PAGE_POISONING_NO_SANITY',         'is not set', 'my', 'self_protection'))
     checklist.append(OptCheck('PAGE_POISONING_ZERO',              'is not set', 'my', 'self_protection'))
     checklist.append(OptCheck('SLAB_MERGE_DEFAULT',               'is not set', 'my', 'self_protection')) # slab_nomerge