• Home
  • Raw
  • Download

Lines Matching refs:user_ns

180 	if (ns_capable(pcred->user_ns, CAP_SYS_NICE))  in set_one_prio_perm()
254 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE3()
322 uid = make_kuid(cred->user_ns, who); in SYSCALL_DEFINE2()
392 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid()
401 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid()
451 if (ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setgid()
550 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid()
559 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setreuid()
623 if (ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setuid()
700 !ns_capable_setid(old->user_ns, CAP_SETUID)) in __sys_setresuid()
748 ruid = from_kuid_munged(cred->user_ns, cred->uid); in SYSCALL_DEFINE3()
749 euid = from_kuid_munged(cred->user_ns, cred->euid); in SYSCALL_DEFINE3()
750 suid = from_kuid_munged(cred->user_ns, cred->suid); in SYSCALL_DEFINE3()
800 !ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setresgid()
837 rgid = from_kgid_munged(cred->user_ns, cred->gid); in SYSCALL_DEFINE3()
838 egid = from_kgid_munged(cred->user_ns, cred->egid); in SYSCALL_DEFINE3()
839 sgid = from_kgid_munged(cred->user_ns, cred->sgid); in SYSCALL_DEFINE3()
866 old_fsuid = from_kuid_munged(old->user_ns, old->fsuid); in __sys_setfsuid()
868 kuid = make_kuid(old->user_ns, uid); in __sys_setfsuid()
878 ns_capable_setid(old->user_ns, CAP_SETUID)) { in __sys_setfsuid()
910 old_fsgid = from_kgid_munged(old->user_ns, old->fsgid); in __sys_setfsgid()
912 kgid = make_kgid(old->user_ns, gid); in __sys_setfsgid()
922 ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setfsgid()
1374 if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
1428 if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
1673 if (!id_match && !ns_capable(tcred->user_ns, CAP_SYS_RESOURCE)) in check_prlimit_permission()