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

index 3f75c884bc6b7567da821b313767d7ca6e9a6abc..9cdf182f0911061e7295bdf02173300dcee8f32e 100755 (executable)
@@ -157,6 +157,7 @@ def construct_checklist():
     checklist.append(OptCheck('STATIC_USERMODEHELPER',            'y', 'my', 'self_protection')) # breaks systemd?
     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
 
     checklist.append(OptCheck('SECURITY',                    'y', 'ubuntu18', 'security_policy'))
     checklist.append(OptCheck('SECURITY_YAMA',               'y', 'ubuntu18', 'security_policy'))