Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dcapability.h69 # 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 …]
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_deny_namespace.c23 __u32 cap_mask = CAP_TO_MASK(CAP_SYS_ADMIN); in BPF_PROG()
/Linux-v6.1/include/uapi/linux/
Dcapability.h429 #define CAP_TO_MASK(x) (1U << ((x) & 31)) /* mask for indexed __u32 */ macro
/Linux-v6.1/security/selinux/
Dhooks.c1583 u32 av = CAP_TO_MASK(cap); in cred_has_capability()