diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-08-07 18:27:14 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-07 20:54:15 +0200 |
commit | 11078876b7a6a1b7226344fecab968945c806832 (patch) | |
tree | a0918972b5fa740fd458782c3f0e06be57e59ec4 /scripts/gdb/linux/timerlist.py | |
parent | cb1c9e02b0c13032c3aec325643453ba48e96e17 (diff) |
x86/efistub: Prefer EFI memory attributes protocol over DXE services
Currently, the EFI stub relies on DXE services in some cases to clear
non-execute restrictions from page allocations that need to be
executable. This is dodgy, because DXE services are not specified by
UEFI but by PI, and they are not intended for consumption by OS loaders.
However, no alternative existed at the time.
Now, there is a new UEFI protocol that should be used instead, so if it
exists, prefer it over the DXE services calls.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230807162720.545787-18-ardb@kernel.org
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions