freebsd-src/sys/cddl
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
..
boot/zfs boot/zfs: Sync the definition of dsl_dataset_phys with OpenZFS 2024-06-01 11:12:12 -04:00
compat/opensolaris Abstract UIO allocation and deallocation. 2024-02-10 11:38:04 -05:00
contrib/opensolaris Revert "dtrace: make 'ring' and 'fill' policies imply 'noswitch' flag" 2024-04-21 15:17:08 +03:00
dev arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00