Page MenuHomeFreeBSD

CHERI: declare fueptr and suptr
ClosedPublic

Authored by brooks on Jun 19 2026, 2:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 5:29 PM
Unknown Object (File)
Thu, Jul 23, 4:41 AM
Unknown Object (File)
Thu, Jul 16, 1:43 AM
Unknown Object (File)
Wed, Jul 15, 7:26 AM
Unknown Object (File)
Wed, Jul 15, 7:26 AM
Unknown Object (File)
Mon, Jul 13, 1:10 PM
Unknown Object (File)
Wed, Jul 8, 7:16 AM
Unknown Object (File)
Mon, Jul 6, 5:03 AM
Subscribers

Details

Summary

These should replace fueword and suword when manipulating pointers in
memory. On CHERI systems they are implemented using capability aware
instructions and otherwise they are defined to fueword and suword.

Effort: CHERI upstreaming
Sponsored by: Innovate UK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 73999
Build 70882: arc lint + arc unit

Event Timeline

Document and link manpages to the description of pointer provenacne in arch(7)

markj added inline comments.
share/man/man9/fetch.9
107 ↗(On Diff #180519)
share/man/man9/store.9
41 ↗(On Diff #180519)
sys/sys/systm.h
373

We should really settle on __nodiscard vs. __result_use_check.

This revision is now accepted and ready to land.Jun 24 2026, 2:38 PM
brooks marked 2 inline comments as done.

Fix some manpage nits

This revision now requires review to proceed.Jun 25 2026, 10:41 AM
This revision is now accepted and ready to land.Jun 26 2026, 6:18 PM
This revision was automatically updated to reflect the committed changes.