Lines Matching refs:current_user_ns
367 struct user_namespace *ns = current_user_ns(); in __sys_setregid()
433 struct user_namespace *ns = current_user_ns(); in __sys_setgid()
524 struct user_namespace *ns = current_user_ns(); in __sys_setreuid()
605 struct user_namespace *ns = current_user_ns(); in __sys_setuid()
662 struct user_namespace *ns = current_user_ns(); in __sys_setresuid()
759 struct user_namespace *ns = current_user_ns(); in __sys_setresgid()
971 return from_kuid_munged(current_user_ns(), current_uid()); in SYSCALL_DEFINE0()
977 return from_kuid_munged(current_user_ns(), current_euid()); in SYSCALL_DEFINE0()
983 return from_kgid_munged(current_user_ns(), current_gid()); in SYSCALL_DEFINE0()
989 return from_kgid_munged(current_user_ns(), current_egid()); in SYSCALL_DEFINE0()
2021 if (!checkpoint_restore_ns_capable(current_user_ns())) in prctl_set_mm_map()