aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/apm_32.c
diff options
context:
space:
mode:
authorGravatar Ard Biesheuvel <ardb@kernel.org> 2023-02-01 09:50:07 +0100
committerGravatar Ard Biesheuvel <ardb@kernel.org> 2023-02-09 17:39:16 +0100
commit1d959312e2f23c8ee6ed9432a6fa4416b267477b (patch)
tree0793812274d2871abf8f544b09e39d321391995a /arch/x86/kernel/apm_32.c
parentefi: Discover BTI support in runtime services regions (diff)
downloadlinux-1d959312e2f23c8ee6ed9432a6fa4416b267477b.tar.gz
linux-1d959312e2f23c8ee6ed9432a6fa4416b267477b.tar.bz2
linux-1d959312e2f23c8ee6ed9432a6fa4416b267477b.zip
efi: arm64: Wire up BTI annotation in memory attributes table
UEFI v2.10 extends the EFI memory attributes table with a flag that indicates whether or not all RuntimeServicesCode regions were constructed with BTI landing pads, permitting the OS to map these regions with BTI restrictions enabled. So let's take this into account on arm64. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/x86/kernel/apm_32.c')
0 files changed, 0 insertions, 0 deletions