loader/linux: Report the UEFI Secure Boot status to the Linux kernel
commita195dbb6774b91df2752cec4affbab69dca318af
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 3 Dec 2020 15:01:50 +0000 (3 16:01 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Sat, 12 Dec 2020 00:19:03 +0000 (12 01:19 +0100)
tree588f703689e10b701ab4a1311da295c24888d51d
parent132ddc42c70de2f03b42162da50d6ef40e97443a
loader/linux: Report the UEFI Secure Boot status to the Linux kernel

Now that the GRUB has a grub_efi_get_secureboot() function to check the
UEFI Secure Boot status, use it to report that to the Linux kernel.

Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/i386/linux.c
include/grub/i386/linux.h