diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-03-03 15:25:11 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-03-04 14:57:25 +0000 |
commit | eb720d2224c3d0b311f526c922c7388819d97778 (patch) | |
tree | 7978cd63f63877ac7c188bfb609aa897203db3d8 /src/interface/efi/efi_timer.c | |
parent | 75c7904482b5397c41b4a91ce266f25a8a196e13 (diff) | |
download | ipxe-eb720d2224c3d0b311f526c922c7388819d97778.tar.gz |
[efi] Use file system protocol to check for SAN boot filename existence
The "sanboot" command allows a custom boot filename to be specified
via the "--filename" option. We currently rely on LoadImage() to
perform both the existence check and to load the image ready for
execution. This may give a false negative result if Secure Boot is
enabled and the boot file is not correctly signed.
Carry out the existence check using EFI_SIMPLE_FILE_SYSTEM_PROTOCOL
separately from loading the image via LoadImage().
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_timer.c')
0 files changed, 0 insertions, 0 deletions