From 993a345dc3657d47f0e5e1c55cfddfd5f9866053 Mon Sep 17 00:00:00 2001 From: Jan Setje-Eilers Date: Fri, 15 Dec 2023 14:49:04 -0800 Subject: 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 --- include/sbat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3