]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/signal.c
[PATCH] pidhash: Refactor the pid hash table
[mirror_ubuntu-artful-kernel.git] / kernel / signal.c
index 4922928d91f68d1c1b7812bb77508a51d0f9e722..92025b10879194d2028944a7076d31757463e0b0 100644 (file)
@@ -1560,6 +1560,7 @@ static void ptrace_stop(int exit_code, int nostop_code, siginfo_t *info)
        /* Let the debugger run.  */
        set_current_state(TASK_TRACED);
        spin_unlock_irq(&current->sighand->siglock);
+       try_to_freeze();
        read_lock(&tasklist_lock);
        if (likely(current->ptrace & PT_PTRACED) &&
            likely(current->parent != current->real_parent ||