From: Alexander Popov Date: Sun, 15 Jan 2023 21:10:12 +0000 (+0300) Subject: Update the VMAP_STACK check: it is available for ARM X-Git-Tag: v0.6.1~15 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1bfbcfbda62098a34206889e52ace909eb6d975b;hp=d611894f6e37378b9f3f4c705d8c27172b26ce74;p=kconfig-hardened-check.git Update the VMAP_STACK check: it is available for ARM --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index df94812..ff23746 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -378,7 +378,7 @@ def add_kconfig_checks(l, arch): VersionCheck((5, 5)))] # REFCOUNT_FULL is enabled by default since v5.5 if arch in ('X86_64', 'ARM64', 'X86_32'): l += [KconfigCheck('self_protection', 'defconfig', 'RANDOMIZE_BASE', 'y')] - if arch in ('X86_64', 'ARM64'): + if arch in ('X86_64', 'ARM64', 'ARM'): l += [KconfigCheck('self_protection', 'defconfig', 'VMAP_STACK', 'y')] if arch in ('X86_64', 'X86_32'): l += [KconfigCheck('self_protection', 'defconfig', 'DEBUG_WX', 'y')]