Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163341911
D42079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
292 B
Referenced Files
None
Subscribers
None
D42079.diff
View Options
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -140,6 +140,8 @@
CFLAGS += -mgeneral-regs-only
# Reserve x18 for pcpu data
CFLAGS += -ffixed-x18
+# Build with BTI+PAC
+CFLAGS += -mbranch-protection=standard
INLINE_LIMIT?= 8000
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 7:41 AM (11 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35375043
Default Alt Text
D42079.diff (292 B)
Attached To
Mode
D42079: arm64: Enable kernel branch protection
Attached
Detach File
Event Timeline
Log In to Comment