Skip to content

Secure Boot lock down

Hamza Mahfooz linux-efi linux-security-module lkml 1 version In review

Get series with b4
b4 am 1750975839-32463-1-git-send-email-hamzamahfooz@linux.microsoft.com

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2security: introduce security_lock_kernel_down()include/linux/lsm_hook_defs.h include/linux/security.h security/lockdown/lockdown.c +1 more+25 -00 replies
2/2efi: introduce EFI_KERNEL_LOCK_DOWN_IN_SECURE_BOOTdrivers/firmware/efi/Kconfig drivers/firmware/efi/efi.c+19 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Secure Boot lock down

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(+)
Signature · 1 line
2.49.0