Exec.CapExec.flags.suid_root: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/exec.bend as Exec Lines 89-96 of bend-osdev-caps@0.1.0.0/exec.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/exec.bend&start_line=89&end_line=96 import Base import bend-osdev-caps@0.1.0.0/caps.bend as C # effective UID 0 but real UID not: the file's sets are all ones, unless the # file has capabilities (a set-user-ID-root program with file capabilities) def CapExec.flags.suid_root(priv: Bool, fc: Maybe<&2, C.CapFileSets>) -> CapExecFlags: match fc: case None{}: CapExecFlags{priv, True{}, C.CapSet.full(), C.CapSet.full()} case Some{C.CapFileSets{fp, fi, fe}}: CapExecFlags{priv, True{}, fp, fi} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapFileSets https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapSet.full https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/exec.bend&name=CapExecFlags