summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-04-22 19:53:28 +0100
committerPeter Jones <pjones@redhat.com>2023-05-02 13:53:08 -0400
commit1f38cb30a5e1dcea97b8d48915515b866ec13c32 (patch)
tree05bacde73a56c6fc18cfee8cf521e79d3c308b8a /include
parentf23883ccf78f1f605a272f9e5700f47e5494a71d (diff)
downloadefi-boot-shim-1f38cb30a5e1dcea97b8d48915515b866ec13c32.tar.gz
efi-boot-shim-1f38cb30a5e1dcea97b8d48915515b866ec13c32.zip
Optionally allow to keep shim protocol installed
If the ShimRetainProtocol variable is set, avoid uninstalling our protocol. For example, this allows sd-stub in a UKI to use the shim protocol to validate PE binaries, even if it is executed by a second stage, before the kernel is loaded. Ensure that the variable is volatile and for BootServices access. Also delete it on startup, so that we can be sure it was really set by a second stage. Example use case in sd-boot/sd-stub: https://github.com/systemd/systemd/pull/27358 Signed-off-by: Luca Boccassi <bluca@debian.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions