Re: [PATCH 122] ptrace_request(PTRACE_KILL) should not(?) return -ESRCH

2009-10-30 Thread Roland McGrath
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

Re: PTRACE_EVENT_SIGTRAP

2009-10-30 Thread Ananth N Mavinakayanahalli
On Thu, Oct 29, 2009 at 08:41:58PM +0100, Oleg Nesterov wrote: On 10/27, Roland McGrath wrote: @@ -495,8 +494,8 @@ static u32 ptrace_report_signal(u32 acti context-siginfo = NULL; if (resume != UTRACE_RESUME) { -