diff options
| author | Michael Brown | 2024-03-03 16:25:11 +0100 |
|---|---|---|
| committer | Michael Brown | 2024-03-04 15:57:25 +0100 |
| commit | eb720d2224c3d0b311f526c922c7388819d97778 (patch) | |
| tree | 7978cd63f63877ac7c188bfb609aa897203db3d8 /src/include/ipxe/efi/Protocol/SimpleFileSystem.h | |
| parent | [block] Use drive number as debug message stream ID (diff) | |
| download | ipxe-eb720d2224c3d0b311f526c922c7388819d97778.tar.gz ipxe-eb720d2224c3d0b311f526c922c7388819d97778.tar.xz ipxe-eb720d2224c3d0b311f526c922c7388819d97778.zip | |
[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/include/ipxe/efi/Protocol/SimpleFileSystem.h')
0 files changed, 0 insertions, 0 deletions
