def cs.b.r1

bend-osdev-caps@0.1.0.0 · PROOF.bend:876

import bend-osdev-caps@0.1.0.0/PROOF.bend as PROOF
import Base
import bend-osdev-caps@0.1.0.0/caps.bend as C
import bend-osdev-caps@0.1.0.0/adjust.bend as A

876def cs.b.r1(+ok: Bool, +c: C.CapCred, +e: C.CapSet(), +p: C.CapSet(), +i: C.CapSet()) -> {C.CapState.bounding(C.CapCred.sets(C.Caps.or(A.CapAdjust.capset.r1(ok, c, e, p, i), c))) == C.CapState.bounding(C.CapCred.sets(c)) : C.CapSet()}:
877  match ok:
878    case False{}:
879      {==}
880    case True{}:
881      cs.b.r2(C.CapSet.subset(e, p), c, e, p, i)

Uses (9)

Used by (1)