Searched refs:cap_status (Results 1 – 1 of 1) sorted by relevance
203 int cap_status = prctl(PR_CAPBSET_READ, cap); in drop_and_lock_capabilities() local204 if (cap_status == 0) { in drop_and_lock_capabilities()207 if (cap_status == -1 && errno == EINVAL) { in drop_and_lock_capabilities()211 if (cap_status != 1) { in drop_and_lock_capabilities()