]> git.proxmox.com Git - efi-boot-shim.git/commit
shim: compile time option to bypass the ExitBootServices() check
authorPaul Moore <pmoore2@cisco.com>
Thu, 29 Oct 2020 13:49:36 +0000 (09:49 -0400)
committerPeter Jones <pjones@redhat.com>
Fri, 29 Jan 2021 20:53:34 +0000 (15:53 -0500)
commit4b0a61dc9a952028c7b1ccc8914835d989ce661e
treee3e842cf390a539eb51e677a00e5421b0bf2f061
parent1f123ac2359cd923e9144f944a4bddf597fddbb5
shim: compile time option to bypass the ExitBootServices() check

On systems where a second stage bootloader is not used, and the Linux
Kernel is booted directly from shim, shim's ExitBootServices() hook
can cause problems as the kernel never calls the shim's verification
protocol.  In this case calling the shim verification protocol is
unnecessary and redundant as shim has already verified the kernel
when shim loaded the kernel as the second stage loader.

This functionality is disabled by default and must be enabled via the
DISABLE_EBS_PROTECTION macro/define at build time.

Signed-off-by: Paul Moore <pmoore2@cisco.com>
Make.defaults
replacements.c