From a101aa053441d0b9247e045d60c6313a7556b520 Mon Sep 17 00:00:00 2001 From: Naoki Hamada Date: Tue, 7 Oct 2014 15:59:15 +0900 Subject: [PATCH] ptrace: Temporal fix for signal inconsistency. --- kernel/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/syscall.c b/kernel/syscall.c index d36df35b..c2a3ca6b 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -2323,7 +2323,7 @@ static int ptrace_wakeup_sig(int pid, long request, long data) { } ihk_mc_spinlock_unlock(savelock, irqstate); - error = sched_wakeup_process(child, PS_TRACED); + error = sched_wakeup_process(child, PS_TRACED | PS_STOPPED); if (error < 0) { goto out; }