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)
Sun, Oct 19, 12:06 PM
Unknown Object (File)
Wed, Oct 15, 9:51 PM
Unknown Object (File)
Thu, Oct 2, 12:35 AM
Unknown Object (File)
Sep 20 2025, 9:32 PM
Unknown Object (File)
Aug 27 2025, 3:20 AM
Unknown Object (File)
Aug 22 2025, 10:26 AM
Unknown Object (File)
Jul 27 2025, 2:47 PM
Unknown Object (File)
Jul 27 2025, 5:54 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