grub/grub-core/loader/i386
Marek Marczykowski-Górecki ebc4b92fc0 xen: Look for Xen notes in section headers too
Mirror behaviour of ELF loader in libxc: first look for Xen notes in
PT_NOTE segment, then in SHT_NOTE section and only then fallback to
a section with __xen_guest name. This fixes loading PV kernels that
Xen note have outside of PT_NOTE. While this may be result of a buggy
linker script, loading such kernel directly works fine, so make it work
with GRUB too. Specifically, this applies to binaries built from Unikraft.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-09-21 19:37:19 -04:00
..
coreboot verifiers: File type for fine-grained signature-verification controlling 2020-09-21 13:29:05 -04:00
efi verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
pc verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
bsd.c verifiers: Add possibility to verify kernel and modules command lines 2020-09-21 13:46:34 -04:00
bsd32.c automake commit without merge history 2010-05-06 11:34:04 +05:30
bsd64.c automake commit without merge history 2010-05-06 11:34:04 +05:30
bsd_pagetable.c * grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): 2010-10-16 22:16:52 +02:00
bsdXX.c loader/bsd: Fix signed/unsigned comparison 2016-01-16 20:40:55 +00:00
linux.c verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
multiboot_mbi.c verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
xen.c verifiers: Xen fallout cleanup 2020-09-21 13:46:35 -04:00
xen_file.c verifiers: File type for fine-grained signature-verification controlling 2020-09-21 13:29:05 -04:00
xen_file32.c Add new ports: i386-xen and x86_64-xen. This allows running GRUB in 2013-11-09 21:29:11 +01:00
xen_file64.c Add new ports: i386-xen and x86_64-xen. This allows running GRUB in 2013-11-09 21:29:11 +01:00
xen_fileXX.c xen: Look for Xen notes in section headers too 2020-09-21 19:37:19 -04:00
xnu.c verifiers: File type for fine-grained signature-verification controlling 2020-09-21 13:29:05 -04:00