aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/keys/process_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c
index 58dfe0890947..a571fad91010 100644
--- a/security/keys/process_keys.c
+++ b/security/keys/process_keys.c
@@ -839,7 +839,7 @@ void key_change_session_keyring(struct callback_head *twork)
839 new-> sgid = old-> sgid; 839 new-> sgid = old-> sgid;
840 new->fsgid = old->fsgid; 840 new->fsgid = old->fsgid;
841 new->user = get_uid(old->user); 841 new->user = get_uid(old->user);
842 new->user_ns = get_user_ns(new->user_ns); 842 new->user_ns = get_user_ns(old->user_ns);
843 new->group_info = get_group_info(old->group_info); 843 new->group_info = get_group_info(old->group_info);
844 844
845 new->securebits = old->securebits; 845 new->securebits = old->securebits;