Lines Matching refs:current_user_ns
349 struct user_namespace *ns = current_user_ns(); in __sys_setregid()
411 struct user_namespace *ns = current_user_ns(); in __sys_setgid()
492 struct user_namespace *ns = current_user_ns(); in __sys_setreuid()
568 struct user_namespace *ns = current_user_ns(); in __sys_setuid()
620 struct user_namespace *ns = current_user_ns(); in __sys_setresuid()
712 struct user_namespace *ns = current_user_ns(); in __sys_setresgid()
919 return from_kuid_munged(current_user_ns(), current_uid()); in SYSCALL_DEFINE0()
925 return from_kuid_munged(current_user_ns(), current_euid()); in SYSCALL_DEFINE0()
931 return from_kgid_munged(current_user_ns(), current_gid()); in SYSCALL_DEFINE0()
937 return from_kgid_munged(current_user_ns(), current_egid()); in SYSCALL_DEFINE0()
1961 if (!ns_capable(current_user_ns(), CAP_SYS_ADMIN)) in validate_prctl_map()