]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Verify files loaded in chain command.
authormw <mw@FreeBSD.org>
Thu, 8 Aug 2019 17:03:30 +0000 (17:03 +0000)
committermw <mw@FreeBSD.org>
Thu, 8 Aug 2019 17:03:30 +0000 (17:03 +0000)
commit2517052f3c3cda093a493fb604b15cdbb7e91e09
tree11dfe715d8978d387fefe67b7518340af9188bd5
parente5805639e2b2a0da5d5ade86a5b5a09718acb6bf
Verify files loaded in chain command.

The chain command can be used to chain load another binary.
If veriexec is enabled we should verify it first.
Note that on EFI systems the verification was already done
through firmware, assuming that Secure Boot was enabled there.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Reviewed by: sjg
MFC after: 1 week
Obtained from: Semihalf
Differential Revision: https://reviews.freebsd.org/D20952
stand/efi/loader/main.c
stand/i386/loader/chain.c