summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Setje-Eilers <jan.setjeeilers@oracle.com>2023-07-07 13:21:30 -0700
committerPeter Jones <pjones@redhat.com>2023-12-05 13:20:00 -0500
commita967c0e7a0a27a310958f5b64a4c4ef8dc1b546e (patch)
tree77d2e2fbb2adce6d348b4cf00a1e05cfc0257d95 /include
parent7dfb6871b8a54710d9e9d8d56146e7c083d2e6a8 (diff)
downloadefi-boot-shim-a967c0e7a0a27a310958f5b64a4c4ef8dc1b546e.tar.gz
efi-boot-shim-a967c0e7a0a27a310958f5b64a4c4ef8dc1b546e.zip
shim should not self revoke
Before applying an updated SbatLevel shim should re-run introspection and never apply a revocation level that would prevent the currently running shim from booting. The proper way forward is to update shim first. Signed-off-by: Jan Setje-Eilers <Jan.SetjeEilers@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbat.h b/include/sbat.h
index af4c1a8f..20009ada 100644
--- a/include/sbat.h
+++ b/include/sbat.h
@@ -53,7 +53,7 @@ extern list_t sbat_var;
#define SBAT_VAR_COLUMNS ((sizeof (struct sbat_var_entry) - sizeof(list_t)) / sizeof(CHAR8 *))
#define SBAT_VAR_REQUIRED_COLUMNS (SBAT_VAR_COLUMNS - 1)
-EFI_STATUS parse_sbat_var(list_t *entries);
+EFI_STATUS parse_sbat_var(list_t *entries, char *sbat_var_candidate);
void cleanup_sbat_var(list_t *entries);
EFI_STATUS set_sbat_uefi_variable_internal(void);
EFI_STATUS set_sbat_uefi_variable(char *, char *);