diff options
-rw-r--r-- | security/keys/process_keys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c index 6c0480db8885..a3063eb3dc23 100644 --- a/security/keys/process_keys.c +++ b/security/keys/process_keys.c | |||
@@ -847,6 +847,7 @@ void key_replace_session_keyring(void) | |||
847 | new-> sgid = old-> sgid; | 847 | new-> sgid = old-> sgid; |
848 | new->fsgid = old->fsgid; | 848 | new->fsgid = old->fsgid; |
849 | new->user = get_uid(old->user); | 849 | new->user = get_uid(old->user); |
850 | new->user_ns = new->user->user_ns; | ||
850 | new->group_info = get_group_info(old->group_info); | 851 | new->group_info = get_group_info(old->group_info); |
851 | 852 | ||
852 | new->securebits = old->securebits; | 853 | new->securebits = old->securebits; |