Searched refs:ns_capable_setid (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | capability.c | 431 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() function 435 EXPORT_SYMBOL(ns_capable_setid);
|
D | sys.c | 391 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 400 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 450 if (ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setgid() 549 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid() 558 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid() 622 if (ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setuid() 699 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setresuid() 799 !ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setresgid() 877 ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setfsuid() 921 ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setfsgid()
|
D | groups.c | 176 return ns_capable_setid(user_ns, CAP_SETGID) && in may_setgroups()
|