Messages in this thread | | | Date | Mon, 28 Feb 2011 17:48:14 +0100 | From | Oleg Nesterov <> | Subject | Re: [PATCH 1/1] ptrace: make sure do_wait() won't hang after PTRACE_ATTACH |
| |
On 02/28, Tejun Heo wrote: > > I believe this is already solved by making the tracee always enter > TASK_TRACED via ptrace_stop() on attach, which always reports the > group stop signal to the ptracer whether the real parent has consumed > it or not. The patch is at the top of this gigantic thread. Oleg, > this is solved one, right?
Yes, sure. gdb will never see the stopped (I mean task->state) tracee after attach, so it does not need to do something special. This problem with exit_code == 0 is fixed too.
Oleg.
| |