Adjust.Caps.capset: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/adjust.bend as Adjust Lines 59-62 of bend-osdev-caps@0.1.0.0/adjust.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-caps@0.1.0.0/adjust.bend&start_line=59&end_line=62 import Base import bend-osdev-caps@0.1.0.0/caps.bend as C # capset(2) with new effective e, permitted p and inheritable i. The rules # are checked in this order, and the first that fails names the error. def Caps.capset(+c: C.CapCred, e: C.CapSet(), +p: C.CapSet(), i: C.CapSet()) -> Result<&2, &2, C.CapsError, C.CapCred>: CapAdjust.capset.r1(C.CapSet.subset(p, C.CapState.permitted(C.CapCred.sets(c))), c, e, p, i) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/adjust.bend&name=CapAdjust.capset.r1 https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapCred https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapCred.sets https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapSet https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapSet.subset https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapState.permitted https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapsError