Skip to content

Commit

Permalink
Add the SECCOMP_CACHE_DEBUG check
Browse files Browse the repository at this point in the history
Thanks to @izh1979 for the idea.
  • Loading branch information
a13xp0p0v committed Oct 12, 2024
1 parent 4fd73e8 commit b9b4a04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel_hardening_checker/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ def add_kconfig_checks(l: List[ChecklistObjType], arch: str) -> None:
l += [KconfigCheck('cut_attack_surface', 'a13xp0p0v', 'FAULT_INJECTION', 'is not set')]
l += [KconfigCheck('cut_attack_surface', 'a13xp0p0v', 'ARM_PTDUMP_DEBUGFS', 'is not set')]
l += [KconfigCheck('cut_attack_surface', 'a13xp0p0v', 'ARM_PTDUMP', 'is not set')] # the old name of ARM_PTDUMP_DEBUGFS
l += [KconfigCheck('cut_attack_surface', 'a13xp0p0v', 'SECCOMP_CACHE_DEBUG', 'is not set')]
l += [KconfigCheck('cut_attack_surface', 'a13xp0p0v', 'LKDTM', 'is not set')]
# dangerous, only for debugging the kernel hardening features!
l += [OR(KconfigCheck('cut_attack_surface', 'a13xp0p0v', 'TRIM_UNUSED_KSYMS', 'y'),
Expand Down

0 comments on commit b9b4a04

Please sign in to comment.