Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754662Ab1CBNkm (ORCPT ); Wed, 2 Mar 2011 08:40:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35700 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755710Ab1CBNkl (ORCPT ); Wed, 2 Mar 2011 08:40:41 -0500 Date: Wed, 2 Mar 2011 14:32:06 +0100 From: Oleg Nesterov To: Tejun Heo Cc: Indan Zupancic , Denys Vlasenko , Roland McGrath , jan.kratochvil@redhat.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, Michael Kerrisk Subject: Re: [RFC] Proposal for ptrace improvements Message-ID: <20110302133206.GA9838@redhat.com> References: <20110301152457.GE26074@htj.dyndns.org> <201103011757.48593.vda.linux@googlemail.com> <20110301170953.GB17933@htj.dyndns.org> <20110301183454.GC23527@mtj.dyndns.org> <830cc1666bd4a610d5e870218f06bd2d.squirrel@webmail.greenhost.nl> <20110302074447.GE19669@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110302074447.GE19669@htj.dyndns.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 29 On 03/02, Tejun Heo wrote: > > On Wed, Mar 02, 2011 at 06:07:35AM +0100, Indan Zupancic wrote: > > I'm not sure what Denys is talking about: Currently it's impossible to > > pass along SIGSTOP to traced processes. Quoting the ptrace manpage: > > > > PTRACE_CONT > > Restarts the stopped child process. If data is nonzero and not > > SIGSTOP, it is interpreted as a signal to be delivered to the > > child; otherwise, no signal is delivered. > > AFAICS, that's not true. SIGSTOP isn't treated differently from other > signals in the ptrace signal delivery path. Maybe it was true in the > past. Yes, this is not true. And it seems this was never true. This is the second time this manpage confuses people in this discussion, probably it should be fixed... Add Michael. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/