grub/grub-core/loader
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
..
arm arm: Move initrd upper to leave more space for kernel 2020-09-21 16:43:54 -04:00
arm64 efi: Rename armxx to arch 2020-09-21 16:43:54 -04:00
efi grub-core/loader/efi/fdt.c: Do not copy random memory 2020-09-21 16:43:54 -04:00
i386 xen: Look for Xen notes in section headers too 2020-09-21 19:37:19 -04:00
ia64/efi arm-uboot, ia64, sparc64: Fix up grub_file_open() calls 2020-09-21 13:46:34 -04:00
mips verifiers: Add possibility to verify kernel and modules command lines 2020-09-21 13:46:34 -04:00
powerpc/ieee1275 verifiers: Add possibility to verify kernel and modules command lines 2020-09-21 13:46:34 -04:00
riscv RISC-V: Add Linux load logic 2020-09-21 16:43:54 -04:00
sparc64/ieee1275 arm-uboot, ia64, sparc64: Fix up grub_file_open() calls 2020-09-21 13:46:34 -04:00
aout.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
linux.c verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
lzss.c Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26:13 +01:00
macho.c verifiers: File type for fine-grained signature-verification controlling 2020-09-21 13:29:05 -04:00
macho32.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
macho64.c * grub-core/loader/machoXX.c: Fix compilation on non-i386. 2013-12-17 22:44:46 +01:00
machoXX.c Simplify few strings. 2013-05-07 11:44:15 +02:00
multiboot.c verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
multiboot_elfxx.c multiboot_elfxx.c: Fix compilation by fixing undeclared variable 2020-09-21 13:19:10 -04:00
multiboot_mbi2.c verifiers: Core TPM support 2020-09-21 16:43:54 -04:00
xnu.c verifiers: Add possibility to verify kernel and modules command lines 2020-09-21 13:46:34 -04:00
xnu_resume.c verifiers: File type for fine-grained signature-verification controlling 2020-09-21 13:29:05 -04:00