Fix RANDOM_TRUST_BOOTLOADER check
authorAlexander Popov <alex.popov@linux.com>
Wed, 18 Mar 2020 09:17:55 +0000 (12:17 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 18 Mar 2020 11:19:15 +0000 (14:19 +0300)
kconfig-hardened-check.py

index 26fbd302ffb35b0817765a52163d09cb9887c02d..6e0d8f6be61e42d6043becc327c49e5f13a386b4 100755 (executable)
@@ -325,7 +325,7 @@ def construct_checklist(checklist, arch):
     checklist.append(OptCheck('SLAB_MERGE_DEFAULT',                    'is not set', 'clipos', 'self_protection')) # slab_nomerge
     checklist.append(AND(OptCheck('GCC_PLUGIN_RANDSTRUCT_PERFORMANCE', 'is not set', 'clipos', 'self_protection'), \
                          randstruct_is_set))
-    checklist.append(OptCheck('CONFIG_RANDOM_TRUST_BOOTLOADER',        'is not set', 'clipos', 'self_protection'))
+    checklist.append(OptCheck('RANDOM_TRUST_BOOTLOADER',               'is not set', 'clipos', 'self_protection'))
     checklist.append(OptCheck('RANDOM_TRUST_CPU',                      'is not set', 'clipos', 'self_protection'))
     if arch == 'X86_64' or arch == 'X86_32':
         checklist.append(AND(OptCheck('INTEL_IOMMU_SVM',                   'y', 'clipos', 'self_protection'), \