Oleg Nesterov 6b39c7bfbd kill PT_ATTACHED
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 were needed to catch the "ptrace attach is in progress" case.  We can
also remove the flag itself since nobody else uses it.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:26 -08:00
..
2008-02-07 08:42:31 -08:00
2008-02-07 08:42:31 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-08 09:22:24 -08:00
2008-02-05 09:44:31 -08:00
2008-02-07 08:42:33 -08:00
2008-02-07 08:42:33 -08:00
2008-02-08 09:22:26 -08:00
2008-02-03 17:19:47 +02:00
2008-02-06 19:25:06 -06:00
2008-01-31 17:40:18 +01:00
2008-02-06 10:41:16 -08:00