freebsd-src/sys/cddl/dev
Andrew Turner c2e0d56f5e arm64: Support BTI checking in most of the kernel
LLD has the -zbti-report=error argument to check if the BTI note is
present when linking. To allow for this to be used when linking the
kernel and modules:
 - Add the BTI note to the remaining assembly files
 - Mark ptrauth.c as protected by BTI
 - Disable -zbti-report for vmm hypervisor switching code as it's not
   used there.

The linux64 module doesn't build with the flag as it includes vdso code
that doesn't include the note.

Reviewed by:	imp, kib, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45466
2024-06-05 09:23:40 +00:00
..
dtmalloc sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
dtrace arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00
fbt arm64: Use void pointers for arguments to arm64_get_writable_addr 2024-03-15 10:10:24 -07:00
kinst arm64: Use void pointers for arguments to arm64_get_writable_addr 2024-03-15 10:10:24 -07:00
profile dtrace/profile: Set t_dtrace_trapframe for profile probes 2024-01-07 11:46:13 -05:00
sdt sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
systrace sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
prototype.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00