Searched refs:last_valid_cap (Results 1 – 2 of 2) sorted by relevance
94 unsigned int last_valid_cap = CAP_WAKE_ALARM; in ComputeLastValidCap() local95 for (; prctl(PR_CAPBSET_READ, last_valid_cap, 0, 0, 0) >= 0; ++last_valid_cap); in ComputeLastValidCap()98 return last_valid_cap - 1; in ComputeLastValidCap()105 unsigned int last_valid_cap = GetLastValidCap(); in DropBoundingSet() local112 for (size_t cap = 0; cap <= last_valid_cap; ++cap) { in DropBoundingSet()186 static unsigned int last_valid_cap = ComputeLastValidCap(); in GetLastValidCap() local187 return last_valid_cap; in GetLastValidCap()
61 unsigned int last_valid_cap = GetLastValidCap(); in ParseCapabilities() local62 if (last_valid_cap >= service_->capabilities_->size()) { in ParseCapabilities()73 if (cap > last_valid_cap) { in ParseCapabilities()