From: Alexander Popov Date: Sun, 9 Jun 2024 09:00:36 +0000 (+0300) Subject: Merge branch 'page-table-check' X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3288e37484b5a364a96d0ca83f7948421d4212b8;hp=8d6d939d66cd51f63514837ec6d4c7839ddc01b7;p=kconfig-hardened-check.git Merge branch 'page-table-check' Refers to #140 Thanks to @jvoisin --- diff --git a/kernel_hardening_checker/checks.py b/kernel_hardening_checker/checks.py index 07364d7..7ac45b1 100644 --- a/kernel_hardening_checker/checks.py +++ b/kernel_hardening_checker/checks.py @@ -135,6 +135,8 @@ def add_kconfig_checks(l: List[ChecklistObjType], arch: str) -> None: l += [KconfigCheck('self_protection', 'defconfig', 'DEBUG_ALIGN_RODATA', 'y')] # 'self_protection', 'kspp' + l += [KconfigCheck('self_protection', 'kspp', 'PAGE_TABLE_CHECK', 'y')] + l += [KconfigCheck('self_protection', 'kspp', 'PAGE_TABLE_CHECK_ENFORCED', 'y')] l += [KconfigCheck('self_protection', 'kspp', 'BUG_ON_DATA_CORRUPTION', 'y')] l += [KconfigCheck('self_protection', 'kspp', 'SLAB_FREELIST_HARDENED', 'y')] l += [KconfigCheck('self_protection', 'kspp', 'SLAB_FREELIST_RANDOM', 'y')]