aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-08-28 12:22:23 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2025-09-03 18:05:42 +0200
commite7b88bc0051c5062bdd73b58837cf277d0057358 (patch)
tree298ec15fd6815e00e0f373f5dd02595c79fa005f /rust/helpers/processor.c
parentx86/boot: Create a confined code area for startup code (diff)
downloadlinux-e7b88bc0051c5062bdd73b58837cf277d0057358.tar.gz
linux-e7b88bc0051c5062bdd73b58837cf277d0057358.zip
efistub/x86: Remap inittext read-execute when needed
Recent EFI x86 systems are more strict when it comes to mapping boot images, and require that mappings are either read-write or read-execute. Now that the boot code is being cleaned up and refactored, most of it is being moved into .init.text [where it arguably belongs] but that implies that when booting on such strict EFI firmware, we need to take care to map .init.text (and the .altinstr_aux section that follows it) read-execute as well. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/20250828102202.1849035-44-ardb+git@google.com
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions