Re: [PATCH 1/1] ptrace: do_notify_parent_cldstop: fix the wrong ->nsproxy usage

Roland McGrath
2009-05-26T21:06:18Z

Acked-by: Roland McGrath <roland@redhat.com>

Yes, all cases setting .si_pid should set it using the pid_ns of the
recipient. Numerous other cases look wrong too, though maybe Sukadev has
outstanding patches for those already? (It's been a while since we went
around on this, and I am fuzzy on some of the details.) ptrace_notify,
ptrace_signal, sys_kill, do_tkill all look wrong to me. (Only sys_kill
needs to solve the multiple-recipients problem.)

Thanks,
Roland