Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/system_headers/
Dcapability.h21 #ifndef CAP_TO_MASK
22 #define CAP_TO_MASK(x) (1 << ((x) & 31)) // mask for indexed __u32 macro
/external/minijail/test/
Dlibminijail_test.cpp119 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.c26 #define raise_cap_mask(flat, c) (flat)[CAP_TO_INDEX(c)] |= CAP_TO_MASK(c)
/external/libchrome/sandbox/linux/services/
Dcredentials.cc188 const uint32_t mask = CAP_TO_MASK(cap_num); in SetCapabilitiesOnCurrentThread()
235 const uint32_t mask = CAP_TO_MASK(cap_num); in HasCapability()
/external/kernel-headers/original/uapi/linux/
Dcapability.h364 #define CAP_TO_MASK(x) (1 << ((x) & 31)) /* mask for indexed __u32 */ macro
/external/libcap/libcap/include/uapi/linux/
Dcapability.h355 #define CAP_TO_MASK(x) (1 << ((x) & 31)) /* mask for indexed __u32 */ macro