mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00: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]>