This is used to enable the guard page when an elf binary is built with
BTI instructions.
Sponsored by: Arm Ltd
Sponsored by: The FreeBSD Foundation
Paths
| Differential D39453 Authored by andrew on Apr 6 2023, 4:10 PM.
Details
Summary This is used to enable the guard page when an elf binary is built with Sponsored by: Arm Ltd
Diff Detail
Event TimelineHerald added a reviewer: manu. · View Herald TranscriptApr 6 2023, 4:10 PM2023-04-06 16:10:23 (UTC+0) Harbormaster completed remote builds in B50798: Diff 119950.Apr 6 2023, 4:10 PM2023-04-06 16:10:27 (UTC+0) Harbormaster completed remote builds in B54129: Diff 129243.Oct 23 2023, 2:54 PM2023-10-23 14:54:12 (UTC+0) andrew edited parent revisions, added: D42328: arm64: Add BTI support to pmap; removed: D39452: Support BTI in rtld.Oct 23 2023, 2:57 PM2023-10-23 14:57:15 (UTC+0) Comment Actions Where will BTI be documented? Perhaps bti.3 and mitigations.7?
Comment Actions Updates based on feedback from @markj. Only page align the start and end address when calling pmap_bti_set to ensure we catch address space overflows Harbormaster completed remote builds in B56043: Diff 134382.Feb 15 2024, 12:13 PM2024-02-15 12:13:38 (UTC+0) This revision is now accepted and ready to land.Feb 15 2024, 2:26 PM2024-02-15 14:26:40 (UTC+0) Closed by commit rGc4e4a7596beb: Add a BTI sysarch (authored by andrew). · Explain WhyFeb 22 2024, 4:28 PM2024-02-22 16:28:42 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 134842 sys/arm64/arm64/sys_machdep.c
sys/arm64/include/sysarch.h
|