Home
last modified time | relevance | path

Searched refs:CAP_TO_MASK (Results 1 – 7 of 7) sorted by relevance

/external/ltp/include/lapi/
Dcapability.h39 #ifndef CAP_TO_MASK
40 # define CAP_TO_MASK(x) (1 << ((x) & 31)) macro
/external/minijail/test/
Dlibminijail_test.cpp120 minijail_use_caps(j, CAP_TO_MASK(CAP_SETUID) | CAP_TO_MASK(CAP_SETGID)); in main()
/external/libcap/libcap/
Dlibcap.h106 #ifndef CAP_TO_MASK
107 # define CAP_TO_MASK(x) (1 << ((x) & 31)) macro
Dcap_text.c36 #define raise_cap_mask(flat, c) (flat)[CAP_TO_INDEX(c)] |= CAP_TO_MASK(c)
/external/libcap/libcap/include/uapi/linux/
Dcapability.h423 #define CAP_TO_MASK(x) (1u << ((x) & 31)) /* mask for indexed __u32 */ macro
/external/kernel-headers/original/uapi/linux/
Dcapability.h428 #define CAP_TO_MASK(x) (1 << ((x) & 31)) /* mask for indexed __u32 */ macro
/external/ltp/lib/
Dtst_capability.c57 uint32_t mask = CAP_TO_MASK(cap->id); in tst_cap_action()