Lines Matching refs:last_valid_cap
1818 static void drop_capbset(uint64_t keep_mask, unsigned int last_valid_cap)
1822 for (i = 0; i < sizeof(keep_mask) * 8 && i <= last_valid_cap; ++i) {
1830 static void drop_caps(const struct minijail *j, unsigned int last_valid_cap)
1845 for (i = 0; i < ncaps && i <= last_valid_cap; ++i) {
1879 drop_capbset(j->caps, last_valid_cap);
1911 for (i = 0; i < ncaps && i <= last_valid_cap; ++i) {
2072 unsigned int last_valid_cap = 0;
2074 last_valid_cap = get_last_valid_cap();
2163 drop_capbset(j->cap_bset, last_valid_cap);
2191 drop_caps(j, last_valid_cap);
2203 drop_caps(j, last_valid_cap);