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(<X_is_hardened>, <X_is_disabled>)
# OR(<X_is_hardened>, <X_is_hardened_old>)
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>, <main_option>)
# Suboption is not checked if checking of the main_option is failed.
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':