From: Roland McGrath Date: Sat, 26 Jul 2008 02:45:49 +0000 (-0700) Subject: tracehook: tracehook_tracer_task X-Git-Tag: v2.6.27-rc1~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d094efeb1e98010c6b99923f1eb7e17bf1e3a74;p=pandora-kernel.git tracehook: tracehook_tracer_task This adds the tracehook_tracer_task() hook to consolidate all forms of "Who is using ptrace on me?" logic. This is used for "TracerPid:" in /proc and for permission checks. We also clean up the selinux code the called an identical accessor. Signed-off-by: Roland McGrath Cc: Oleg Nesterov Reviewed-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed