Home
last modified time | relevance | path

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

/linux-6.15/security/
H A Dcommoncap.c70 const struct user_namespace *cred_ns, in cap_capable_helper() argument
81 if (likely(ns == cred_ns)) in cap_capable_helper()
88 if (ns->level <= cred_ns->level) in cap_capable_helper()
95 if ((ns->parent == cred_ns) && uid_eq(ns->owner, cred->euid)) in cap_capable_helper()
127 const struct user_namespace *cred_ns = cred->user_ns; in cap_capable() local
128 int ret = cap_capable_helper(cred, target_ns, cred_ns, cap); in cap_capable()
130 trace_cap_capable(cred, target_ns, cred_ns, cap, ret); in cap_capable()