grub2/grub-core/kern/efi
Leif Lindholm e1c8c0fd1d efi: change heap allocation type to GRUB_EFI_LOADER_CODE
With upcoming changes to EDK2, allocations of type EFI_LOADER_DATA may
not return regions with execute ability. Since modules are loaded onto
the heap, change the heap allocation type to GRUB_EFI_LOADER_CODE in
order to permit execution on systems with this feature enabled.

Closes: 50420

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

Origin: upstream, https://git.savannah.gnu.org/cgit/grub.git/commit/?id=f826330683675f0deb55b58fd229afd7d65fb053
Bug-Debian: https://bugs.debian.org/907596
Bug-Debian: https://bugs.debian.org/909420
Last-Update: 2018-12-06

Patch-Name: efi-change-heap-allocation-type.patch
2018-12-06 20:51:32 +00:00
..
acpi.c tsc: Use alternative delay sources whenever appropriate. 2015-11-27 11:39:55 +01:00
efi.c Don't permit loading modules on UEFI secure boot 2018-03-16 10:56:39 +00:00
fdt.c efi: Move fdt helper into own file 2016-11-24 10:09:24 +01:00
init.c Fix fwpath in efi netboot 2016-12-22 22:37:32 +03:00
mm.c efi: change heap allocation type to GRUB_EFI_LOADER_CODE 2018-12-06 20:51:32 +00:00