Reworked the logic to more closely resemble the one in the Linux efistub
implementation:
  * added checking for "MokSBState" variable
  * added a function to efi core to read EFI variables with their attributes,
    because "MokSBState" handling requires taking attributes into account

Ignat Korchagin (2):
  efi: add function to read EFI variables with attributes
  loader/i386/linux: report UEFI secure boot status to the Linux kernel

 grub-core/kern/efi/efi.c      | 13 +++++++++--
 grub-core/loader/i386/linux.c | 54 ++++++++++++++++++++++++++++++++++++++++++-
 include/grub/efi/efi.h        |  4 ++++
 include/grub/i386/linux.h     | 14 +++++++++--
 4 files changed, 80 insertions(+), 5 deletions(-)

-- 
2.11.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to