PTRACE_KILL omit sched_wakeup_process return

refs #369
This commit is contained in:
Tomoki Shirasawa
2015-01-27 10:55:49 +09:00
parent 08cc31f9bf
commit d04b5a09bd

View File

@@ -2613,10 +2613,7 @@ static int ptrace_wakeup_sig(int pid, long request, long data) {
break;
}
error = sched_wakeup_process(child, PS_TRACED | PS_STOPPED);
if (error < 0) {
goto out;
}
sched_wakeup_process(child, PS_TRACED | PS_STOPPED);
out:
return error;
}