Re: [PATCH 11/11] ptrace: implement group stop notification forptracer

From: Tejun Heo
Date: Wed May 11 2011 - 16:21:32 EST


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.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/