public inbox for linux-efi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] efi: Pass secure boot mode to kernel [ver #3]
@ 2016-11-23 12:53 David Howells
  2016-11-23 12:53 ` [PATCH 2/7] x86/efi: Allow invocation of arbitrary runtime services " David Howells
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: David Howells @ 2016-11-23 12:53 UTC (permalink / raw)
  To: lukas
  Cc: linux-efi, linux-kernel, dhowells, linux-security-module,
	keyrings, linux-arm-kernel


Here's a set of patches that can determine the secure boot state of the
UEFI BIOS and pass that along to the main kernel image.  This involves
generalising ARM's efi_get_secureboot() function and making it mixed-mode
safe.

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=efi-secure-boot

at tag:

	efi-secure-boot-20161123-2

Note that the patches are not terminal on the branch.

David
---
Ard Biesheuvel (1):
      efi: use typed function pointers for runtime services table

David Howells (4):
      x86/efi: Allow invocation of arbitrary runtime services
      arm/efi: Allow invocation of arbitrary runtime services
      efi: Add SHIM and image security database GUID definitions
      efi: Get the secure boot status

Josh Boyer (2):
      efi: Disable secure boot if shim is in insecure mode
      efi: Add EFI_SECURE_BOOT bit


 Documentation/x86/zero-page.txt           |    2 +
 arch/arm/include/asm/efi.h                |    1 
 arch/arm64/include/asm/efi.h              |    1 
 arch/x86/boot/compressed/eboot.c          |    3 +
 arch/x86/boot/compressed/head_32.S        |    6 +-
 arch/x86/boot/compressed/head_64.S        |    8 +-
 arch/x86/include/asm/efi.h                |    5 ++
 arch/x86/include/uapi/asm/bootparam.h     |    3 +
 arch/x86/kernel/setup.c                   |    5 ++
 drivers/firmware/efi/libstub/Makefile     |    2 -
 drivers/firmware/efi/libstub/arm-stub.c   |   46 --------------
 drivers/firmware/efi/libstub/secureboot.c |   93 +++++++++++++++++++++++++++++
 include/linux/efi.h                       |   42 +++++++------
 13 files changed, 144 insertions(+), 73 deletions(-)
 create mode 100644 drivers/firmware/efi/libstub/secureboot.c


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-11-25 16:57 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23 12:53 [PATCH 0/7] efi: Pass secure boot mode to kernel [ver #3] David Howells
2016-11-23 12:53 ` [PATCH 2/7] x86/efi: Allow invocation of arbitrary runtime services " David Howells
2016-11-23 12:53 ` [PATCH 3/7] arm/efi: " David Howells
     [not found] ` <147990561294.7576.6464430479448167484.stgit-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org>
2016-11-23 12:53   ` [PATCH 1/7] efi: use typed function pointers for runtime services table " David Howells
2016-11-23 12:54   ` [PATCH 4/7] efi: Add SHIM and image security database GUID definitions " David Howells
2016-11-23 12:54 ` [PATCH 5/7] efi: Get the secure boot status " David Howells
     [not found]   ` <147990565051.7576.9673287945782426886.stgit-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org>
2016-11-24 19:41     ` James Bottomley
2016-11-25  9:30       ` David Howells
     [not found]         ` <15173.1480066220-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org>
2016-11-25  9:52           ` Ard Biesheuvel
     [not found]         ` <CAKv+Gu_JxNLDjaK5jGbX9ACzM0uHJYMOFx7XDo4t7DtBMtFRGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-25 12:03           ` David Howells
     [not found]             ` <16661.1480075392-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org>
2016-11-25 12:24               ` Ard Biesheuvel
2016-11-25 12:35                 ` David Howells
2016-11-25 12:43                   ` Ard Biesheuvel
2016-11-25 12:51                     ` David Howells
2016-11-25 12:52                       ` Ard Biesheuvel
     [not found]                   ` <CAKv+Gu9c-C2uXZ0fVatCM8ffXJZDgjBcDb_T0nsFecGqgrF11Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-11-25 13:00                     ` David Howells
     [not found]                       ` <31374.1480078855-S6HVgzuS8uM4Awkfq6JHfwNdhmdF6hFW@public.gmane.org>
2016-11-25 13:50                         ` Ard Biesheuvel
2016-11-25 15:59                           ` David Howells
2016-11-25 16:50                       ` David Howells
2016-11-25 16:51                         ` Ard Biesheuvel
2016-11-25 16:57                           ` David Howells
2016-11-23 12:54 ` [PATCH 6/7] efi: Disable secure boot if shim is in insecure mode " David Howells
2016-11-23 12:54 ` [PATCH 7/7] efi: Add EFI_SECURE_BOOT bit " David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox