mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 19:08:34 +00:00
trivial: Define one more EFI GUID
This commit is contained in:
parent
0031b474bc
commit
99dda53cc2
@ -12,6 +12,7 @@
|
||||
#define FU_EFIVAR_GUID_EFI_GLOBAL "8be4df61-93ca-11d2-aa0d-00e098032b8c"
|
||||
#define FU_EFIVAR_GUID_FWUPDATE "0abba7dc-e516-4167-bbf5-4d9d1c739416"
|
||||
#define FU_EFIVAR_GUID_UX_CAPSULE "3b8c8162-188c-46a4-aec9-be43f1d65697"
|
||||
#define FU_EFIVAR_GUID_SECURITY_DATABASE "d719b2cb-3d3a-4596-a3bc-dad00e67656f"
|
||||
|
||||
#define FU_EFIVAR_ATTR_NON_VOLATILE (1 << 0)
|
||||
#define FU_EFIVAR_ATTR_BOOTSERVICE_ACCESS (1 << 1)
|
||||
|
@ -84,7 +84,7 @@ fu_plugin_add_security_attrs (FuPlugin *plugin, FuSecurityAttrs *attrs)
|
||||
}
|
||||
|
||||
/* get system dbx */
|
||||
if (!fu_efivar_get_data ("d719b2cb-3d3a-4596-a3bc-dad00e67656f", "dbx",
|
||||
if (!fu_efivar_get_data (FU_EFIVAR_GUID_SECURITY_DATABASE, "dbx",
|
||||
&buf_system, &bufsz, NULL, &error_local)) {
|
||||
g_warning ("failed to load EFI dbx: %s", error_local->message);
|
||||
fwupd_security_attr_set_result (attr, FWUPD_SECURITY_ATTR_RESULT_NOT_VALID);
|
||||
|
Loading…
Reference in New Issue
Block a user