Messages in this thread | | | Date | Wed, 4 Jan 2012 16:59:27 +0100 | From | Oleg Nesterov <> | Subject | Re: ptrace fixes for 3.2 |
| |
Hello,
On 01/04, Tejun Heo wrote: > > On Wed, Jan 04, 2012 at 12:35:34PM +0100, Oleg Nesterov wrote: > > Can't understand how did we miss this, but WARN_ON_ONCE(!ptrace) > > in do_signal_stop() is not right. Debugger can resume the stopped > > task, and it can clone the _untraced_ thread running in the stopped > > group. > > Right, we should be setting JOBCTL_STOP_PENDING for newly cloned tasks > if sigstop is in effect.
Yes, probably this is the natural choice.
> Looks good to me, provided proper fix is coming soon. :p
Good.
Yes, this is the temporary fix for 3.2.
Thanks!
Oleg.
| |