Function caps::read
[−]
[src]
pub fn read(tid: Option<i32>, cset: CapSet) -> Result<CapsHashSet>
Return all capabilities in a set for a thread.
Return current content of set cset for thread tid.
If tid is None, this operates on current thread (tid=0).
It cannot read Ambient or Bounding capabilities of other processes.