From: Oleg Nesterov Date: Wed, 17 Jun 2009 23:27:30 +0000 (-0700) Subject: ptrace: do not use task->ptrace directly in core kernel X-Git-Tag: v2.6.31-rc1~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cb11446892833e50970fb2277a9f7563b0a8bd3;p=pandora-kernel.git ptrace: do not use task->ptrace directly in core kernel No functional changes. - Nobody except ptrace.c & co should use ptrace flags directly, we have task_ptrace() for that. - No need to specially check PT_PTRACED, we must not have other PT_ bits set without PT_PTRACED. And no need to know this flag exists. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed