Searched refs:new_cap (Results 1 – 1 of 1) sorted by relevance
147 ScopedCap new_cap(cap_dup(old_cap.Get())); in ScopedUnroot() local148 CHECK_NE(new_cap.Get(), nullptr); in ScopedUnroot()149 CHECK_EQ(cap_clear_flag(new_cap.Get(), CAP_EFFECTIVE), 0); in ScopedUnroot()150 CHECK_EQ(cap_set_proc(new_cap.Get()), 0); in ScopedUnroot()