Searched refs:CAP_TO_MASK (Results 1 – 7 of 7) sorted by relevance
59 #ifndef CAP_TO_MASK60 # define CAP_TO_MASK(x) (1 << ((x) & 31)) macro
120 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
36 #define raise_cap_mask(flat, c) (flat)[CAP_TO_INDEX(c)] |= CAP_TO_MASK(c)
423 #define CAP_TO_MASK(x) (1u << ((x) & 31)) /* mask for indexed __u32 */ macro
429 #define CAP_TO_MASK(x) (1U << ((x) & 31)) /* mask for indexed __u32 */ macro
57 uint32_t mask = CAP_TO_MASK(cap->id); in tst_cap_action()