Messages in this thread |  | | | Date | Wed, 11 May 2011 22:21:22 +0200 | | From | Tejun Heo <> | | Subject | Re: [PATCH 11/11] ptrace: implement group stop notification for ptracer |
| |
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
|  |