summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBaskov Evgeniy <baskov@ispras.ru>2022-03-03 15:21:20 +0100
committerArd Biesheuvel <ardb@kernel.org>2022-05-03 15:31:28 +0200
commit82e0d6d76a2a74bd6a31141d555d53b4cc22c2a3 (patch)
tree719ed919905a1c8a7a6a0b4942ddb803df9f60e3 /tools
parentefi: libstub: declare DXE services table (diff)
downloadlinux-82e0d6d76a2a74bd6a31141d555d53b4cc22c2a3.tar.xz
linux-82e0d6d76a2a74bd6a31141d555d53b4cc22c2a3.zip
efi: libstub: ensure allocated memory to be executable
There are UEFI versions that restrict execution of memory regions, preventing the kernel from booting. Parts that needs to be executable are: * Area used for trampoline placement. * All memory regions that the kernel may be relocated before and during extraction. Use DXE services to ensure aforementioned address ranges to be executable. Only modify attributes that does not have appropriate attributes. Signed-off-by: Baskov Evgeniy <baskov@ispras.ru> Link: https://lore.kernel.org/r/20220303142120.1975-3-baskov@ispras.ru Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions