Searched refs:CAP_TO_MASK (Results 1 – 7 of 7) sorted by relevance
21 #ifndef CAP_TO_MASK22 #define CAP_TO_MASK(x) (1 << ((x) & 31)) // mask for indexed __u32 macro
119 minijail_use_caps(j, CAP_TO_MASK(CAP_SETUID) | CAP_TO_MASK(CAP_SETGID)); in main()
106 #ifndef CAP_TO_MASK107 # define CAP_TO_MASK(x) (1 << ((x) & 31)) macro
26 #define raise_cap_mask(flat, c) (flat)[CAP_TO_INDEX(c)] |= CAP_TO_MASK(c)
188 const uint32_t mask = CAP_TO_MASK(cap_num); in SetCapabilitiesOnCurrentThread()235 const uint32_t mask = CAP_TO_MASK(cap_num); in HasCapability()
364 #define CAP_TO_MASK(x) (1 << ((x) & 31)) /* mask for indexed __u32 */ macro
355 #define CAP_TO_MASK(x) (1 << ((x) & 31)) /* mask for indexed __u32 */ macro