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

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Thu, 24 Jan 2002 07:14:17 +0900


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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/