]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/alpha/kernel/signal.c
KEYS: Add a keyctl to install a process's session keyring on its parent [try #6]
[net-next-2.6.git] / arch / alpha / kernel / signal.c
index 04e17c1f0f1b2f449ccd886ec51cc6fd2794219d..d91aaa747050ad635c7d418a7cbef3de957901e3 100644 (file)
@@ -687,5 +687,7 @@ do_notify_resume(struct pt_regs *regs, struct switch_stack *sw,
        if (thread_info_flags & _TIF_NOTIFY_RESUME) {
                clear_thread_flag(TIF_NOTIFY_RESUME);
                tracehook_notify_resume(regs);
+               if (current->replacement_session_keyring)
+                       key_replace_session_keyring();
        }
 }