mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 05:42:46 +01:00
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 function named arch_get_secureboot. Reported-and-suggested-by: Mimi Zohar <[email protected]> Suggested-by: Roberto Sassu <[email protected]> Signed-off-by: Coiby Xu <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>