Page MenuHomeFreeBSD

mman: Reserve two PROT_ for CHERI use
ClosedPublic

Authored by brooks on May 30 2025, 10:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 13, 3:59 AM
Unknown Object (File)
Sat, Nov 22, 1:28 PM
Unknown Object (File)
Nov 16 2025, 11:13 AM
Unknown Object (File)
Nov 14 2025, 8:02 PM
Unknown Object (File)
Nov 10 2025, 11:05 PM
Unknown Object (File)
Nov 8 2025, 6:26 PM
Unknown Object (File)
Nov 5 2025, 5:25 AM
Unknown Object (File)
Nov 2 2025, 2:14 AM
Subscribers

Details

Summary

In CheriBSD we use two bits to control load and store of CHERI
capabilities (pointers). In anticipation of merging CHERI support in
time for FreeBSD 16, reserved these two bits to avoid the (low, but
non-zero) risk of a flag day downstream.

I've used PROT_CHERI0 and PROT_CHERI1 rather than their downstream name
in hopes of avoiding the impression they do something today.

Suggested by: adrian, kevans
Sponsored by: DARPA, AFRL

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable