shouldn't copy_process() do clear_tsk_thread_flag(child, TIF_SINGLESTEP) ? I'll recheck this, but looks like both upstream and utrace-ptrace should do this. Otherwise, the new child can start with TIF_SINGLESTEP copied from parent's ti->flags. This looks just wrong, but if we do not auto-attach this looks much worse.
No? Oleg.