Searched refs:cap_issubset (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/security/ |
D | commoncap.c | 150 cap_issubset(child_cred->cap_permitted, *caller_caps)) in cap_ptrace_access_check() 182 cap_issubset(child_cred->cap_permitted, cred->cap_permitted)) in cap_ptrace_traceme() 252 !cap_issubset(*inheritable, in cap_capset() 258 if (!cap_issubset(*inheritable, in cap_capset() 265 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset() 269 if (!cap_issubset(*effective, *permitted)) in cap_capset() 535 if (!cap_issubset(new->cap_permitted, old->cap_permitted)) in cap_bprm_set_creds() 547 !cap_issubset(new->cap_permitted, old->cap_permitted)) && in cap_bprm_set_creds() 598 if (!cap_issubset(new->cap_effective, new->cap_ambient)) { in cap_bprm_set_creds() 599 if (!cap_issubset(CAP_FULL_SET, new->cap_effective) || in cap_bprm_set_creds() [all …]
|
/linux-4.4.14/include/linux/ |
D | capability.h | 165 static inline int cap_issubset(const kernel_cap_t a, const kernel_cap_t set) in cap_issubset() function
|
D | cred.h | 218 return cap_issubset(cred->cap_ambient, in cap_ambient_invariant_ok()
|
/linux-4.4.14/kernel/ |
D | cred.c | 392 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
|