[PATCH 1/3] integrity: Make arch_ima_get_secureboot integrity-wide

Mimi Zohar zohar at linux.ibm.com
Thu Jan 15 10:14:57 PST 2026


On Thu, 2026-01-15 at 08:43 +0800, Coiby Xu wrote:
> EVM and other LSMs need the ability to query the secure boot status of
> the system, without directly calling the IMA arch_ima_get_secureboot
> function. Refactor the secure boot status check into a general,
> integrity-wide function named arch_integrity_get_secureboot.
> 
> Define a new Kconfig option CONFIG_INTEGRITY_SECURE_BOOT, which is
> automatically configured by the supported architectures. The existing
> IMA_SECURE_AND_OR_TRUSTED_BOOT Kconfig loads the architecture specific
> IMA policy based on the refactored secure boot status code.
> 
> Reported-and-suggested-by: Mimi Zohar <zohar at linux.ibm.com>
> Suggested-by: Roberto Sassu <roberto.sassu at huaweicloud.com>
> Signed-off-by: Coiby Xu <coxu at redhat.com>

Thanks, Coiby!

Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>




More information about the linux-arm-kernel mailing list