Re: utrace_ptrace task-ptrace

2009-08-05 Thread Christoph Hellwig
On Tue, Aug 04, 2009 at 06:09:11PM -0700, Roland McGrath wrote: I agree, CONFIG_UTRACE_PTRACE should die. But what about !CONFIG_UTRACE case? What should we do with arches which doesn't use tracehooks or play with ptrace internals? AIUI hch wants to have ptrace rely on utrace. Those

Q: ptrace_detach() UTRACE_DETACH

2009-08-05 Thread Oleg Nesterov
Still no code, only questions. One particular problem with attach/detach is that ptrace_detach_task(sig) doesn't really detach if sig != 0. Instead of UTRACE_DETACH we clear engine-data and do UTRACE_INTERRUPT. The actual detach should be done by ptrace_report_signal()-ptrace_resumed which