Skip to content

Commit

Permalink
Add legal permissions invariant for tagged capabilities (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayyamal authored Nov 13, 2024
1 parent 382a3ad commit d5a45ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cap-description.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ CHERI enforces the following invariants for all valid (i.e., tagged) capabilitie

. The bounds are not malformed.
. No reserved bit in the capability encoding is set.
. The permissions can be legally produced by <<ACPERM>>.

A tagged capability that violates those invariants (i.e., a tagged but malformed capability or a tagged
capability with any reserved bit set) can only possibly be caused by
Expand Down

0 comments on commit d5a45ef

Please sign in to comment.