Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/
Dcommoncap.c147 cap_issubset(child_cred->cap_permitted, *caller_caps)) in cap_ptrace_access_check()
179 cap_issubset(child_cred->cap_permitted, cred->cap_permitted)) in cap_ptrace_traceme()
248 !cap_issubset(*inheritable, in cap_capset()
254 if (!cap_issubset(*inheritable, in cap_capset()
261 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset()
265 if (!cap_issubset(*effective, *permitted)) in cap_capset()
770 !cap_issubset(target->cap_##field, source->cap_##field)
772 !cap_issubset(cred->cap_##target, cred->cap_##source)
774 cap_issubset(CAP_FULL_SET, cred->cap_##field)
1111 is_subset = cap_issubset(__task_cred(p)->cap_permitted, in cap_safe_nice()
/kernel/linux/linux-5.10/include/linux/
Dcapability.h166 static inline bool cap_issubset(const kernel_cap_t a, const kernel_cap_t set) in cap_issubset() function
Dcred.h216 return cap_issubset(cred->cap_ambient, in cap_ambient_invariant_ok()
/kernel/linux/linux-5.10/kernel/
Dcred.c407 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()