diff mbox series

[3/7] efi: Add SHIM and image security database GUID definitions

Message ID 1486380166-31868-4-git-send-email-ard.biesheuvel@linaro.org
State New
Headers show
Series [1/7] x86/efi: Allow invocation of arbitrary runtime services | expand

Commit Message

Ard Biesheuvel Feb. 6, 2017, 11:22 a.m. UTC
From: David Howells <dhowells@redhat.com>


Add the definitions for shim and image security database, both of which
are used widely in various Linux distros.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>

Signed-off-by: David Howells <dhowells@redhat.com>

Cc: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 include/linux/efi.h | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.7.4

Comments

Ingo Molnar Feb. 7, 2017, 7:52 a.m. UTC | #1
* Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:

> From: David Howells <dhowells@redhat.com>

> 

> Add the definitions for shim and image security database, both of which

> are used widely in various Linux distros.

> 

> Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>

> Signed-off-by: David Howells <dhowells@redhat.com>

> Cc: Matt Fleming <matt@codeblueprint.co.uk>

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


That's not a valid SOB chain: the SOB of the author of the patch (David Howells) 
must come first.

I changed it to:

  Signed-off-by: David Howells <dhowells@redhat.com>

  Acked-by: Josh Boyer <jwboyer@fedoraproject.org>

  Cc: Matt Fleming <matt@codeblueprint.co.uk>
  Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Please holler if that's not OK.

Thanks,

	Ingo
diff mbox series

Patch

diff --git a/include/linux/efi.h b/include/linux/efi.h
index 8c6e007a5408..52c87de3e50d 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -611,6 +611,9 @@  void efi_native_runtime_setup(void);
 #define EFI_CONSOLE_OUT_DEVICE_GUID		EFI_GUID(0xd3b36f2c, 0xd551, 0x11d4,  0x9a, 0x46, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d)
 #define APPLE_PROPERTIES_PROTOCOL_GUID		EFI_GUID(0x91bd12fe, 0xf6c3, 0x44fb,  0xa5, 0xb7, 0x51, 0x22, 0xab, 0x30, 0x3a, 0xe0)
 
+#define EFI_IMAGE_SECURITY_DATABASE_GUID	EFI_GUID(0xd719b2cb, 0x3d3a, 0x4596,  0xa3, 0xbc, 0xda, 0xd0, 0x0e, 0x67, 0x65, 0x6f)
+#define EFI_SHIM_LOCK_GUID			EFI_GUID(0x605dab50, 0xe046, 0x4300,  0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23)
+
 /*
  * This GUID is used to pass to the kernel proper the struct screen_info
  * structure that was populated by the stub based on the GOP protocol instance