[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] Add UEFI Secure Boot detection and report the status to Linu
From: |
Javier Martinez Canillas |
Subject: |
[PATCH 0/9] Add UEFI Secure Boot detection and report the status to Linux |
Date: |
Thu, 3 Dec 2020 16:01:41 +0100 |
This patch series adds support for the GRUB to detect the UEFI Secure Boot
status using the SecureBoot and SetupMode EFI variables. It also reports
this to Linux by setting the .secure_boot field of struct boot_params.
Besides that, it contains some cleanups and fixes mostly around EFI support.
Best regards,
Javier
Daniel Kiper (5):
efi: Make shim_lock GUID and protocol type public
efi: Return grub_efi_status_t from grub_efi_get_variable()
efi: Add a function to read EFI variables with attributes
efi: Add secure boot detection
loader/linux: Report the UEFI Secure Boot status to the Linux kernel
Javier Martinez Canillas (4):
i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275
startup.S
include/grub/i386/linux.h: Include missing <grub/types.h> header
arm/term: Fix linking error due multiple ps2_state definitions
efi: Only register shim_lock verifier if shim_lock protocol is found
and SB enabled
grub-core/Makefile.am | 1 +
grub-core/Makefile.core.def | 1 +
grub-core/commands/efi/efifwsetup.c | 8 +-
grub-core/commands/efi/shim_lock.c | 28 ++-----
grub-core/kern/efi/efi.c | 30 +++++--
grub-core/kern/efi/sb.c | 109 +++++++++++++++++++++++++
grub-core/kern/i386/coreboot/startup.S | 1 -
grub-core/kern/i386/ieee1275/startup.S | 1 -
grub-core/loader/i386/linux.c | 6 +-
grub-core/term/arm/cros.c | 2 +-
grub-core/term/arm/pl050.c | 2 +-
grub-core/video/efi_gop.c | 2 +-
include/grub/efi/api.h | 19 ++++-
include/grub/efi/efi.h | 12 ++-
include/grub/efi/sb.h | 40 +++++++++
include/grub/i386/linux.h | 10 ++-
16 files changed, 225 insertions(+), 47 deletions(-)
create mode 100644 grub-core/kern/efi/sb.c
create mode 100644 include/grub/efi/sb.h
--
2.28.0
- [PATCH 0/9] Add UEFI Secure Boot detection and report the status to Linux,
Javier Martinez Canillas <=
- [PATCH 1/9] i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275 startup.S, Javier Martinez Canillas, 2020/12/03
- [PATCH 2/9] include/grub/i386/linux.h: Include missing <grub/types.h> header, Javier Martinez Canillas, 2020/12/03
- [PATCH 3/9] arm/term: Fix linking error due multiple ps2_state definitions, Javier Martinez Canillas, 2020/12/03
- [PATCH 4/9] efi: Make shim_lock GUID and protocol type public, Javier Martinez Canillas, 2020/12/03
- [PATCH 5/9] efi: Return grub_efi_status_t from grub_efi_get_variable(), Javier Martinez Canillas, 2020/12/03
- [PATCH 6/9] efi: Add a function to read EFI variables with attributes, Javier Martinez Canillas, 2020/12/03
- [PATCH 9/9] loader/linux: Report the UEFI Secure Boot status to the Linux kernel, Javier Martinez Canillas, 2020/12/03
- [PATCH 7/9] efi: Add secure boot detection, Javier Martinez Canillas, 2020/12/03
- [PATCH 8/9] efi: Only register shim_lock verifier if shim_lock protocol is found and SB enabled, Javier Martinez Canillas, 2020/12/03