From: Alexander Popov Date: Thu, 22 Oct 2020 19:38:35 +0000 (+0300) Subject: Add ARM64_BTI_KERNEL X-Git-Tag: v0.5.9~6 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=f9438fccaee4cf9f77ac4daaf4a0ddf7f996f108;p=kconfig-hardened-check.git Add ARM64_BTI_KERNEL --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 1ca0530..eb256de 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -312,6 +312,7 @@ def construct_checklist(l, arch): VerCheck((5, 9))))] # HARDEN_EL2_VECTORS was included in RANDOMIZE_BASE in v5.9 l += [OptCheck('self_protection', 'defconfig', 'RODATA_FULL_DEFAULT_ENABLED', 'y')] l += [OptCheck('self_protection', 'defconfig', 'ARM64_PTR_AUTH', 'y')] + l += [OptCheck('self_protection', 'defconfig', 'ARM64_BTI_KERNEL', 'y')] if arch in ('X86_64', 'ARM64'): l += [OptCheck('self_protection', 'defconfig', 'VMAP_STACK', 'y')] if arch in ('X86_64', 'ARM64', 'X86_32'):