Re: [PATCH -mm 1/3] kill PT_ATTACHED

2007-12-10 Thread Roland McGrath
Starting to catch up on some old patch review today. This one has my ACK. Thanks, Roland -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[PATCH -mm 1/3] kill PT_ATTACHED

2007-11-21 Thread Oleg Nesterov
Since the patch "Fix ptrace_attach()/ptrace_traceme()/de_thread() race" commit f5b40e363ad6041a96e3da32281d8faa191597b9 we set PT_ATTACHED and change child->parent "atomically" wrt task_list lock. This means we can remove the checks like "PT_ATTACHED && ->parent != ptracer" which