HomeFreeBSD

mman: Reserve two PROT_ for CHERI use

Description

mman: Reserve two PROT_ for CHERI use

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.

Reviewed by: kevans, adrian
Suggested by: kevans, adrian
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D50621

Details

Provenance
brooksAuthored on Jun 5 2025, 11:55 PM
Reviewer
kevans
Differential Revision
D50621: mman: Reserve two PROT_ for CHERI use
Parents
rG8e3580073257: build: remove the last vestiges of lint support
Branches
Unknown
Tags
Unknown