From: Oleg Nesterov Date: Wed, 15 Feb 2006 19:50:10 +0000 (+0300) Subject: [PATCH] fix zap_thread's ptrace related problems X-Git-Tag: v2.6.16-rc4~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ecfbae093f0c37311e89b29bfc0c9d586eace87;p=pandora-kernel.git [PATCH] fix zap_thread's ptrace related problems 1. The tracee can go from ptrace_stop() to do_signal_stop() after __ptrace_unlink(p). 2. It is unsafe to __ptrace_unlink(p) while p->parent may wait for tasklist_lock in ptrace_detach(). Signed-off-by: Oleg Nesterov Cc: Roland McGrath Cc: Ingo Molnar Cc: Christoph Hellwig Cc: Eric W. Biederman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed