Searched refs:CAP_TO_MASK (Results 1 – 4 of 4) sorted by relevance
69 # define CAP_FS_MASK_B0 (CAP_TO_MASK(CAP_CHOWN) \70 | CAP_TO_MASK(CAP_MKNOD) \71 | CAP_TO_MASK(CAP_DAC_OVERRIDE) \72 | CAP_TO_MASK(CAP_DAC_READ_SEARCH) \73 | CAP_TO_MASK(CAP_FOWNER) \74 | CAP_TO_MASK(CAP_FSETID))76 # define CAP_FS_MASK_B1 (CAP_TO_MASK(CAP_MAC_OVERRIDE))83 #define CAP_LAST_U32_VALID_MASK (CAP_TO_MASK(CAP_LAST_CAP + 1) -1)88 | CAP_TO_MASK(CAP_LINUX_IMMUTABLE), \91 | CAP_TO_MASK(CAP_SYS_RESOURCE), \[all …]
23 __u32 cap_mask = CAP_TO_MASK(CAP_SYS_ADMIN); in BPF_PROG()
429 #define CAP_TO_MASK(x) (1U << ((x) & 31)) /* mask for indexed __u32 */ macro
1583 u32 av = CAP_TO_MASK(cap); in cred_has_capability()