pve-edk2-firmware/debian/patches/Revert-ArmVirtPkg-make-EFI_LOADER_DATA-non-executabl.patch
Thomas Lamprecht 7728bf381b fix #4696: Revert "ArmVirtPkg: make EFI_LOADER_DATA non-executable"
> Continue to allow bootloaders to execute memory allocated as
> EFI_LOADER_DATA until GRUB fixes are more generally available.
> (Closes: #1025656)

-- a0be41b75c

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-24 10:56:07 +02:00

21 lines
853 B
Diff

Description: Revert "ArmVirtPkg: make EFI_LOADER_DATA non-executable"
The versions of GRUB most distros are shipping still depend on executable
EFI_LOADER_DATA. Revert this upstream change until the necessary fixes are
more generally available.
Author: dann frazier <dannf@debian.org>
Bug-Debian: https://bugs.debian.org/1025656
Forwarded: https://edk2.groups.io/g/devel/message/97814
Last-Update: 2023-03-09
--- a/ArmVirtPkg/ArmVirt.dsc.inc
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
@@ -361,7 +361,7 @@
# reserved ones, with the exception of LoaderData regions, of which OS loaders
# (i.e., GRUB) may assume that its contents are executable.
#
- gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD5
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1
[Components.common]
#