Searched refs:ns_capable_setid (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/include/linux/ |
D | capability.h | 213 extern bool ns_capable_setid(struct user_namespace *ns, int cap); 245 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() function
|
/linux-5.19.10/kernel/ |
D | capability.c | 432 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() function 436 EXPORT_SYMBOL(ns_capable_setid);
|
D | sys.c | 389 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 398 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 448 if (ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setgid() 547 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid() 556 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid() 620 if (ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setuid() 687 if (!ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setresuid() 781 if (!ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setresgid() 864 ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setfsuid() 908 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()
|