Searched refs:ns_capable_setid (Results 1 – 2 of 2) sorted by relevance
431 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() function435 EXPORT_SYMBOL(ns_capable_setid);
521 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid()530 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid()589 if (ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setuid()651 if (!ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setresuid()819 ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setfsuid()