X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fboot%2Fboot-efi.c;h=9960c4d7423a72da9f3556454e4826c47d93e5b3;hb=6a95dff87daf899a96135c7ab87aa1b1a67f6afc;hp=51f12c0c1a53fe287635ef8ffe2dac6387c8e775;hpb=71bf4f6f6c450e111795054e1bc50da692202c31;p=elogind.git diff --git a/src/boot/boot-efi.c b/src/boot/boot-efi.c index 51f12c0c1..9960c4d74 100644 --- a/src/boot/boot-efi.c +++ b/src/boot/boot-efi.c @@ -158,6 +158,9 @@ int boot_info_query(struct boot_info *info) { char buf[64]; char *loader_active = NULL; + info->fw_secure_boot = is_efi_secure_boot(); + info->fw_secure_boot_setup_mode = is_efi_secure_boot_setup_mode(); + efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderInfo", &info->loader); get_boot_entries(info);