On 10/06, Roland McGrath wrote: > > [...snip a lot of useful info...]
Thanks Roland. I need to read this carefully tomorrow. > > - perhaps it makes sense to change force_sig_info() to use > > lock_task_sighand(), then we can avoid taking taskist around > > send_sigtrap(). > > This feels like an indicator that it would be better to call send_sigtrap > in the tracee instead. Yes. Note the changelog for 08f4a21cd6d169942b3b6eb56cd10c5a8e84001b, I think we can move this into ptrace_report_siganl(). But hopefully this hack is OK for the first version. Oleg.