Lines Matching refs:current_user_ns
352 struct user_namespace *ns = current_user_ns(); in __sys_setregid()
414 struct user_namespace *ns = current_user_ns(); in __sys_setgid()
495 struct user_namespace *ns = current_user_ns(); in __sys_setreuid()
571 struct user_namespace *ns = current_user_ns(); in __sys_setuid()
623 struct user_namespace *ns = current_user_ns(); in __sys_setresuid()
715 struct user_namespace *ns = current_user_ns(); in __sys_setresgid()
922 return from_kuid_munged(current_user_ns(), current_uid()); in SYSCALL_DEFINE0()
928 return from_kuid_munged(current_user_ns(), current_euid()); in SYSCALL_DEFINE0()
934 return from_kgid_munged(current_user_ns(), current_gid()); in SYSCALL_DEFINE0()
940 return from_kgid_munged(current_user_ns(), current_egid()); in SYSCALL_DEFINE0()
1998 if (!ns_capable(current_user_ns(), CAP_SYS_ADMIN)) in prctl_set_mm_map()