nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
0ccc47
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
0ccc47
From: Robbie Harwood <rharwood@redhat.com>
0ccc47
Date: Wed, 11 May 2022 16:20:52 -0400
0ccc47
Subject: [PATCH] Define GRUB_EFI_SHIM_LOCK_GUID
0ccc47
0ccc47
Added in f76a27996c34900f2c369a8a0d6ac72ae2faa988 ("efi: Make shim_lock
0ccc47
GUID and protocol type public"), but that commit also manipulates the
0ccc47
lock protocol definition and some other guids we don't care about right
0ccc47
now.
0ccc47
0ccc47
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
0ccc47
---
0ccc47
 include/grub/efi/api.h | 5 +++++
0ccc47
 1 file changed, 5 insertions(+)
0ccc47
0ccc47
diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
0ccc47
index 37e7b16287..2a243fd290 100644
0ccc47
--- a/include/grub/efi/api.h
0ccc47
+++ b/include/grub/efi/api.h
0ccc47
@@ -349,6 +349,11 @@
0ccc47
     { 0x86, 0x2e, 0xc0, 0x1c, 0xdc, 0x29, 0x1f, 0x44 } \
0ccc47
   }
0ccc47
 
0ccc47
+#define GRUB_EFI_SHIM_LOCK_GUID \
0ccc47
+  { 0x605dab50, 0xe046, 0x4300, \
0ccc47
+    { 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23 } \
0ccc47
+   }
0ccc47
+
0ccc47
 struct grub_efi_sal_system_table
0ccc47
 {
0ccc47
   grub_uint32_t signature;