def ex.inh

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

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/exec.bend as E

750def ex.inh(+fl: E.CapExecFlags, +s: C.CapState) -> {C.CapState.inheritable(E.CapExec.sets(fl, s)) == C.CapState.inheritable(s) : C.CapSet()}:
751  match fl s:
752    case E.CapExecFlags{priv, feff, fp, fi} C.CapState{+p, +i, +e, +b, +a}:
753      {==}

Uses (5)

Used by (1)