git: a1d78374b5c4 - main - stand: Revert the EFI loader back to strict mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jun 2026 03:40:55 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=a1d78374b5c426d43a287b9523660bce36cb55c8
commit a1d78374b5c426d43a287b9523660bce36cb55c8
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2026-06-01 03:34:59 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-06-01 03:38:58 +0000
stand: Revert the EFI loader back to strict mode
The change to relaxed mode has had too many unintended breakages. Revert
back to strict mode until that works for all the cases that are
currently broken.
Fixes: 784150fd2535, d69fc3a9dc71
PR: 295289
Sponsored by: Netflix
---
stand/efi/loader/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index 9604f16a2480..2dc7924b9fcd 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -146,7 +146,7 @@ EFI_LOADED_IMAGE *boot_img;
enum boot_policies {
STRICT,
RELAXED,
-} boot_policy = RELAXED;
+} boot_policy = STRICT;
const char *policy_map[] = {
[STRICT] = "strict",