diff options
Diffstat (limited to 'security/keys/process_keys.c')
-rw-r--r-- | security/keys/process_keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c index e137fcd7042c..d71056db7b67 100644 --- a/security/keys/process_keys.c +++ b/security/keys/process_keys.c | |||
@@ -860,7 +860,7 @@ void key_replace_session_keyring(void) | |||
860 | new-> sgid = old-> sgid; | 860 | new-> sgid = old-> sgid; |
861 | new->fsgid = old->fsgid; | 861 | new->fsgid = old->fsgid; |
862 | new->user = get_uid(old->user); | 862 | new->user = get_uid(old->user); |
863 | new->user_ns = new->user->user_ns; | 863 | new->user_ns = get_user_ns(new->user_ns); |
864 | new->group_info = get_group_info(old->group_info); | 864 | new->group_info = get_group_info(old->group_info); |
865 | 865 | ||
866 | new->securebits = old->securebits; | 866 | new->securebits = old->securebits; |