capctl::caps::bounding
pub fn probe() -> CapSet
"Probes" the current thread's bounding capability set and returns a CapSet representing all the capabilities that are currently raised.
CapSet