Re: Stopped detach/attach status

2009-10-08 Thread Oleg Nesterov
Incomplete reply, just can't read/think/concentrate today... On 10/07, Roland McGrath wrote: We had a lengthy discussion about this. Yes. I only ever wanted that revert then because it was too late in the 2.6.30 cycle to hash this all out and get it really right. I meant that we should

Re: [PATCH 70] move event 8 into syscall_code()

2009-10-08 Thread Oleg Nesterov
On 10/07, Roland McGrath wrote: void set_stop_code(struct ptrace_context *ctx, int event) { ctx-stop_code = (event 8) | SIGTRAP; } void set_syscall_code(struct ptrace_context *ctx, int event) { set_stop_code(ctx, event);