Returns the capabilities of a thread.
fn capabilities(thread: i32) -> Result<CapSet, Errno>
The thread id of the thread or 0 for the current thread.
0
capget(2)