Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dcapability.h213 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-6.1.9/kernel/
Dcapability.c432 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() function
436 EXPORT_SYMBOL(ns_capable_setid);
Dsys.c390 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid()
399 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid()
449 if (ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setgid()
548 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid()
557 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid()
621 if (ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setuid()
688 if (!ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setresuid()
782 if (!ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setresgid()
865 ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setfsuid()
909 ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setfsgid()
Dgroups.c189 return ns_capable_setid(user_ns, CAP_SETGID) && in may_setgroups()