Searched refs:cap_issubset (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/security/ |
D | commoncap.c | 148 cap_issubset(child_cred->cap_permitted, *caller_caps)) in cap_ptrace_access_check() 180 cap_issubset(child_cred->cap_permitted, cred->cap_permitted)) in cap_ptrace_traceme() 249 !cap_issubset(*inheritable, in cap_capset() 255 if (!cap_issubset(*inheritable, in cap_capset() 262 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset() 266 if (!cap_issubset(*effective, *permitted)) in cap_capset() 823 !cap_issubset(target->cap_##field, source->cap_##field) 825 !cap_issubset(cred->cap_##target, cred->cap_##source) 827 cap_issubset(CAP_FULL_SET, cred->cap_##field) 1177 is_subset = cap_issubset(__task_cred(p)->cap_permitted, in cap_safe_nice()
|
/Linux-v6.6/include/linux/ |
D | capability.h | 112 static inline bool cap_issubset(const kernel_cap_t a, const kernel_cap_t set) in cap_issubset() function
|
D | cred.h | 216 return cap_issubset(cred->cap_ambient, in cap_ambient_invariant_ok()
|
/Linux-v6.6/kernel/ |
D | cred.c | 420 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
|