Adjust.Caps.bset_drop: def of bend-osdev-caps@0.1.0.0 Import: import bend-osdev-caps@0.1.0.0/adjust.bend as Adjust Lines 78-82 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=78&end_line=82 import Base import bend-osdev-caps@0.1.0.0/caps.bend as C # drop capability x from the bounding set: CapsInvalidCap (EINVAL) if the # kernel does not support x, CapsNoSetpcap (EPERM) without CAP_SETPCAP in the # effective set def Caps.bset_drop(k: C.CapsKernel, +c: C.CapCred, +x: U32) -> Result<&2, &2, C.CapsError, C.CapCred>: CapAdjust.bset_drop.go(C.CapsKernel.valid(k, x), C.CapSet.has(C.CapState.effective(C.CapCred.sets(c)), C.Cap.setpcap()), c, x) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/adjust.bend&name=CapAdjust.bset_drop.go https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=Cap.setpcap 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.has https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapState.effective https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapsError https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapsKernel https://jend.leeeet.dev/definition.txt?path=bend-osdev-caps@0.1.0.0/caps.bend&name=CapsKernel.valid