HomeFreeBSD

arm64: Enable BTI in the kernel ELF loader

Description

arm64: Enable BTI in the kernel ELF loader

Enable BTI in binaries loaded by the kernel. When the ELF file contains
the needed note indicating BTI is supported set the guarded page flag
for all segments.

Reviewed by: markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42441

Details

Provenance
andrewAuthored on Nov 2 2023, 9:56 AM
Reviewer
markj
Differential Revision
D42441: arm64: Enable BTI in the kernel ELF loader
Parents
rGc4e4a7596beb: Add a BTI sysarch
Branches
Unknown
Tags
Unknown