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
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