Searched refs:ns_capable_setid (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A 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);
|
| H A D | sys.c | 386 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 395 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 445 if (ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setgid() 538 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid() 547 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid() 606 if (ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setuid() 668 if (!ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setresuid() 757 if (!ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setresgid() 840 ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setfsuid() 884 ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setfsgid()
|
| H A D | groups.c | 181 return ns_capable_setid(user_ns, CAP_SETGID) && in may_setgroups()
|