Just noticed I didn't reply to this message,
On 10/30, Roland McGrath wrote:
If the tracee was STOPPED/TRACED, then it is equivalent to
PTRACE_CONT,SIGKILL.
Otherwise it has no effect except it can race with exit() and spoil
-exit_code,
and wake_up_process() is not good if course. (I
Damn, this PTRACE_KILL is so weird.
Yes. It's useless. Not regressing on the expectations of stupid old
programs that don't really know what it does is all that's required.
Apart from that, what it should actually do?
It should work like PTRACE_CONT,SIGKILL but the only error case is
-ESRCH