Re: [PATCH 0/2] Secure Boot lock down

Paul Moore
2025-07-17T18:22:16Z

On Wed, Jul 16, 2025 at 5:29 PM Hamza Mahfooz
<hamzamahfooz@linux.microsoft.com> wrote:
>
> Ping?

Adding the new Lockdown maintainers to the To/CC line for review in
case they missed it earlier. For reference, the patchset can be found
at the lore link below:

https://lore.kernel.org/linux-security-module/1750975839-32463-1-git-send-email-hamzamahfooz@linux.microsoft.com/

> 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(+)

--
paul-moore.com