MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / capabilities

Function capabilities

src/thread/libcap.rs:123–125  ·  view source on GitHub ↗
(pid: Option<Pid>)

Source from the content-addressed store, hash-verified

121#[inline]
122#[doc(alias = "capget")]
123pub fn capabilities(pid: Option<Pid>) -> io::Result<CapabilitySets> {
124 capget(pid)
125}
126
127/// `capset(_LINUX_CAPABILITY_VERSION_3, pid, effective, permitted,
128/// inheritable)`

Callers 2

test_rebootFunction · 0.85
libcapFunction · 0.85

Calls 1

capgetFunction · 0.70

Tested by 2

test_rebootFunction · 0.68
libcapFunction · 0.68