From: Cong Wang Date: Thu, 31 May 2012 23:26:18 +0000 (-0700) Subject: proc: use mm_access() instead of ptrace_may_access() X-Git-Tag: v3.5-rc1~21^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2344bec788b097b2d1198758bd29c583812b864e;p=pandora-kernel.git proc: use mm_access() instead of ptrace_may_access() mm_access() handles this much better, and avoids some race conditions. Signed-off-by: Cong Wang Cc: Oleg Nesterov Cc: Alexey Dobriyan Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed