mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Andrew Turner](/assets/img/avatar_default.png)
Add the WITH/WITHOUT_BRANCH_PROTECTION build flags. This can be used to enable the use of pointer authentication (FEAT_PAuth) and branch target identification (FEAT_BTI) in userspace. The kernel already handles both of these is userspace, we just need to enable it. Leave disabled for a short period for this to settle before enabling. Reviewed by: emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D42596
8 lines
132 B
Makefile
8 lines
132 B
Makefile
|
|
SUBDIR_PARALLEL= yes
|
|
|
|
# Firmware may not be able to handle branch protection failures
|
|
MK_BRANCH_PROTECTION= no
|
|
|
|
.include "defs.mk"
|