From: Oleg Nesterov Date: Fri, 8 Feb 2008 12:18:59 +0000 (-0800) Subject: kill my_ptrace_child() X-Git-Tag: v2.6.25-rc1~232 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a1738f7da0b3d28d4b066d03a78f46b8cab68f;p=pandora-kernel.git kill my_ptrace_child() Now that my_ptrace_child() is trivial we can use the "p->ptrace & PT_PTRACED" inline and simplify the corresponding logic in do_wait: we can't find the child in TASK_TRACED state without PT_PTRACED flag set, ptrace_untrace() either sets TASK_STOPPED or wakes up the tracee. Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed