Re: [PATCH] ptrace on stopped processes (2.4)

OGAWA Hirofumi
2002-01-23T22:16:18Z

vic <zandy@cs.wisc.edu> writes:

> Now I see the problem with PTRACE_KILL. Thanks for the example.
>
> I'm looking into it. I need to justify the quoted portion of the
> patch or find a better way to get its effect.
>
> In the meantime, the problem could be fixed by changing the
> PTRACE_KILL implementation to call send_sig instead of setting
> exit_code. How does that strike people?

PTRACE_SYSCALL, PTRACE_CONT, and PTRACE_SINGLESTEP can't send a signal
by the same reason. Please read the do_signal().
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>