diff options
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r-- | arch/x86/kernel/signal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 0f89a4f20db2..baaf8052f355 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c | |||
@@ -860,6 +860,8 @@ do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags) | |||
860 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { | 860 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { |
861 | clear_thread_flag(TIF_NOTIFY_RESUME); | 861 | clear_thread_flag(TIF_NOTIFY_RESUME); |
862 | tracehook_notify_resume(regs); | 862 | tracehook_notify_resume(regs); |
863 | if (current->replacement_session_keyring) | ||
864 | key_replace_session_keyring(); | ||
863 | } | 865 | } |
864 | 866 | ||
865 | #ifdef CONFIG_X86_32 | 867 | #ifdef CONFIG_X86_32 |