[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110512102447.GG1030@htj.dyndns.org>
Date:	Thu, 12 May 2011 12:24:47 +0200
From:	Tejun Heo <tj@...nel.org>
To:	Oleg Nesterov <oleg@...hat.com>
Cc:	jan.kratochvil@...hat.com, vda.linux@...glemail.com,
	linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
	akpm@...ux-foundation.org, indan@....nu
Subject: Re: [PATCH 11/11] ptrace: implement group stop notification for
 ptracer
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
