Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756763Ab1ELKYy (ORCPT ); Thu, 12 May 2011 06:24:54 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:57682 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754605Ab1ELKYw (ORCPT ); Thu, 12 May 2011 06:24:52 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=lAUeeeOjEo1Ic5VIPhd5e7/0j/9t/fOUtBT1T4quayEEkqqLDHO18upYnP4mH7nTRW rwz5O07wzhWrtX8lpB/YwpRMTRFv+DVpU+4Yorq7aEKvALulSB547VEqsP0AlmAqHQsX 8A45sbCAr3ySBw+0TDq48inUIPKrPUK3j+jK4= Date: Thu, 12 May 2011 12:24:47 +0200 From: Tejun Heo To: Oleg Nesterov Cc: jan.kratochvil@redhat.com, vda.linux@googlemail.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, indan@nul.nu Subject: Re: [PATCH 11/11] ptrace: implement group stop notification for ptracer Message-ID: <20110512102447.GG1030@htj.dyndns.org> References: <1304869745-1073-1-git-send-email-tj@kernel.org> <1304869745-1073-12-git-send-email-tj@kernel.org> <20110511195824.GA4047@redhat.com> <20110511201848.GF24245@mtj.dyndns.org> <20110511202122.GG24245@mtj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110511202122.GG24245@mtj.dyndns.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 894 Lines: 22 On Wed, May 11, 2011 at 10:21:22PM +0200, Tejun Heo wrote: > On Wed, May 11, 2011 at 10:18:48PM +0200, Tejun Heo wrote: > > Hmmm... this whole re-trapping thing is turning out to be more > > problematic than expected. Maybe it would be better to somehow notify > > ptracer directly from prepare_signal(). > > I need to think more about this but basically we just need to modify > exit_code, last_siginfo and then wake up the parent, all of which can > be done safely while holding child's siglock. I'll play with it. This too involves much more subtleties than making tracee actually retrap. I'll just make retrapping safe. Thanks. -- tejun -- 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/