linux.kernel

Re: [PATCH stable-3.0] ptrace: don't clear GROUP_STOP_SIGMASK on double-stop


On Mon, Sep 26, 2011 at 07:06:32PM +0200, Oleg Nesterov wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=740121
>
> 1. Luke Macken triggered WARN_ON(!(group_stop & GROUP_STOP_SIGMASK))
> in do_signal_stop().
>
> This is because do_signal_stop() clears GROUP_STOP_SIGMASK part
> unconditionally but doesn't update it if task_is_stopped().
>
> 2. Looking at this problem I noticed that WARN_ON_ONCE(!ptrace) is
> not right, a stopped-but-resumed tracee can clone the untraced
> thread in the SIGNAL_STOP_STOPPED group, the new thread can start
> another group-stop.
>
> Remove this warning, we need more fixes to make it true.
>
> Reported-by: Luke Macken <lmacken_at_redhat.com>
> Signed-off-by: Oleg Nesterov <oleg_at_redhat.com>
I still don't understand, did this fix ever get into Linus's tree? If
so, what is the git commit id.
If not, why not? I can't apply it to the 3.0-stable tree unless it is
there, or there is a very good reason why it isn't.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo_at_vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/




Written by Greg KH 20/10/2011 1.10.02
Check some pics on this site!
25/05/2012 5.08.52