X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=kconfig-hardened-check.py;h=dd7b30e486a5ee7f6447e0a42100495c99c73d5c;hb=071e301cbbf7895c379f86aef790506c399ada3b;hp=3efaf403b5650066e184f128f0033ebdd64097ce;hpb=d5ebf3f55ae5c711c2e870bd0425f61024f7afa7;p=kconfig-hardened-check.git diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index 3efaf40..dd7b30e 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -140,7 +140,7 @@ class ComplexOptCheck: class OR(ComplexOptCheck): - # self.opts[0] is the option which this OR-check is about. + # self.opts[0] is the option that this OR-check is about. # Use case: # OR(, ) # OR(, ) @@ -162,7 +162,7 @@ class OR(ComplexOptCheck): class AND(ComplexOptCheck): - # self.opts[0] is the option which this AND-check is about. + # self.opts[0] is the option that this AND-check is about. # Use case: AND(, ) # Suboption is not checked if checking of the main_option is failed. @@ -434,6 +434,7 @@ def construct_checklist(checklist, arch): if arch == 'X86_32': checklist.append(OptCheck('MODIFY_LDT_SYSCALL', 'is not set', 'my', 'cut_attack_surface')) + checklist.append(OptCheck('INTEGRITY', 'y', 'defconfig', 'userspace_hardening')) if arch == 'ARM64': checklist.append(OptCheck('ARM64_PTR_AUTH', 'y', 'defconfig', 'userspace_hardening')) if arch == 'X86_64' or arch == 'ARM64':