aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 2734dc965f69..d6303277a640 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1026,7 +1026,7 @@ static inline int legacy_queue(struct sigpending *signals, int sig)
1026static inline uid_t map_cred_ns(const struct cred *cred, 1026static inline uid_t map_cred_ns(const struct cred *cred,
1027 struct user_namespace *ns) 1027 struct user_namespace *ns)
1028{ 1028{
1029 return user_ns_map_uid(ns, cred, cred->uid); 1029 return from_kuid_munged(ns, cred->uid);
1030} 1030}
1031 1031
1032#ifdef CONFIG_USER_NS 1032#ifdef CONFIG_USER_NS