Searched refs:keep_capabilities (Results 1 – 2 of 2) sorted by relevance
304 int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities) { in drop_privileges() argument333 r = capability_bounding_set_drop(keep_capabilities, true); in drop_privileges()338 if (keep_capabilities != 0) { in drop_privileges()339 cap_value_t bits[log2u64(keep_capabilities) + 1]; in drop_privileges()348 if (keep_capabilities & (1ULL << i)) in drop_privileges()352 assert(i == 64 || (keep_capabilities >> i) == 0); in drop_privileges()354 assert(keep_capabilities & (UINT64_C(1) << (i - 1))); in drop_privileges()
24 int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities);