summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Setje-Eilers <jan.setjeeilers@oracle.com>2023-12-15 14:49:04 -0800
committerPeter Jones <pjones@redhat.com>2024-01-22 14:17:20 -0500
commit993a345dc3657d47f0e5e1c55cfddfd5f9866053 (patch)
tree68428cf462c142724cd7d3d976142d213be6754f /include
parenta23e2f0de7a61b6e895a915676eba3a1fda2cd78 (diff)
downloadefi-boot-shim-993a345dc3657d47f0e5e1c55cfddfd5f9866053.tar.gz
efi-boot-shim-993a345dc3657d47f0e5e1c55cfddfd5f9866053.zip
Try to load revocations.efi even if directory read fails
Network booting tends to expose things like a tfpt server as a filesystem that doesn't implement directory listing This will blindly try to ingest a revocations.efi file in those cases, even if that may result in some console noise when the file does not exist. Signed-off-by: Jan Setje-Eilers <Jan.SetjeEilers@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbat.h b/include/sbat.h
index 4be0cbb1..bb523e7e 100644
--- a/include/sbat.h
+++ b/include/sbat.h
@@ -38,6 +38,8 @@
#define POLICY_RESET 3
#define POLICY_NOTREAD 255
+#define REVOCATIONFILE L"revocations.efi"
+
extern UINTN _sbat, _esbat;
struct sbat_var_entry {