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