Searched refs:current_cap (Results 1 – 1 of 1) sorted by relevance
265 ScopedCap current_cap(cap_get_proc()); in HasAnyCapability() local266 CHECK(current_cap); in HasAnyCapability()269 return cap_compare(current_cap.get(), empty_cap.get()) != 0; in HasAnyCapability()273 ScopedCap current_cap(cap_get_proc()); in GetCurrentCapString() local274 CHECK(current_cap); in GetCurrentCapString()275 ScopedCapText cap_text(cap_to_text(current_cap.get(), NULL)); in GetCurrentCapString()