ptrace: Temporal fix for signal inconsistency.
This commit is contained in:
committed by
Tomoki Shirasawa
parent
1f120b929b
commit
a101aa0534
@@ -2323,7 +2323,7 @@ static int ptrace_wakeup_sig(int pid, long request, long data) {
|
|||||||
}
|
}
|
||||||
ihk_mc_spinlock_unlock(savelock, irqstate);
|
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) {
|
if (error < 0) {
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user