Add SHUFFLE_PAGE_ALLOCATOR from v5.2
authorAlexander Popov <alex.popov@linux.com>
Thu, 22 Aug 2019 10:35:32 +0000 (13:35 +0300)
committerAlexander Popov <alex.popov@linux.com>
Thu, 22 Aug 2019 10:35:32 +0000 (13:35 +0300)
kconfig-hardened-check.py

index 10c2997ad0802556b165df7925506340171f363c..f431dd070286d7bf21e2acfa4c20e999757cf75a 100755 (executable)
@@ -207,6 +207,7 @@ def construct_checklist(checklist, arch):
     checklist.append(OptCheck('SCHED_STACK_END_CHECK',            'y', 'kspp', 'self_protection'))
     checklist.append(OptCheck('SLAB_FREELIST_HARDENED',           'y', 'kspp', 'self_protection'))
     checklist.append(OptCheck('SLAB_FREELIST_RANDOM',             'y', 'kspp', 'self_protection'))
+    checklist.append(OptCheck('SHUFFLE_PAGE_ALLOCATOR',           'y', 'kspp', 'self_protection'))
     checklist.append(OptCheck('FORTIFY_SOURCE',                   'y', 'kspp', 'self_protection'))
     checklist.append(OptCheck('GCC_PLUGINS',                      'y', 'kspp', 'self_protection'))
     randstruct_is_set = OptCheck('GCC_PLUGIN_RANDSTRUCT',         'y', 'kspp', 'self_protection')