law execve_root_effective

bend-osdev-caps@0.1.0.0 · LAWS.bend:112

import bend-osdev-caps@0.1.0.0/LAWS.bend as LAWS
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

112law execve_root_effective:
113  for +k: C.CapsKernel
114  for +s: C.CapState
115  for +sv: U32
116  for +na: Bool
117  for +u: U32
118  for +sg: Bool
119  for +fc: Maybe<&2, C.CapFileSets>
120  for +ign: Bool
121  for h: {C.CapSet.subset(C.CapState.ambient(s), C.CapState.inheritable(s)) == True{} : Bool}
122  {C.CapState.effective(E.Caps.execve.sets(k, C.CapCred{0, 0, sv, False{}, na, s}, C.CapFile{u, False{}, sg, fc}, ign)) == C.CapSet.union(C.CapState.inheritable(s), C.CapState.bounding(s)) : C.CapSet()}

Uses (19)

Used by (0)

No other definition uses this definition.