[PATCH 0/2] Secure Boot lock down
Hamza Mahfooz
hamzamahfooz at linux.microsoft.com
Wed Jul 16 21:29:25 UTC 2025
Ping?
On Thu, Jun 26, 2025 at 03:10:37PM -0700, Hamza Mahfooz wrote:
> All major distros have had carried a version of this patch-set
> out of tree for sometime now, but with a bunch of magic (typically
> sprinkled in setup_arch()). Though we can avoid those architecture
> specific quirks if we call efi_get_secureboot_mode() from
> efisubsys_init() and that allows us to have a generic solution.
>
> Hamza Mahfooz (2):
> security: introduce security_lock_kernel_down()
> efi: introduce EFI_KERNEL_LOCK_DOWN_IN_SECURE_BOOT
>
> drivers/firmware/efi/Kconfig | 10 ++++++++++
> drivers/firmware/efi/efi.c | 9 +++++++++
> include/linux/lsm_hook_defs.h | 1 +
> include/linux/security.h | 8 ++++++++
> security/lockdown/lockdown.c | 1 +
> security/security.c | 15 +++++++++++++++
> 6 files changed, 44 insertions(+)
>
> --
> 2.49.0
More information about the Linux-security-module-archive
mailing list