]> Git Repo - linux.git/commit - security/selinux/hooks.c
tracehook: tracehook_tracer_task
authorRoland McGrath <[email protected]>
Sat, 26 Jul 2008 02:45:49 +0000 (19:45 -0700)
committerLinus Torvalds <[email protected]>
Sat, 26 Jul 2008 19:00:08 +0000 (12:00 -0700)
commit0d094efeb1e98010c6b99923f1eb7e17bf1e3a74
tree6ee271b6da5796e5321d2ab6f9d7d9ba03c300a2
parentdae33574dcf5211e1f43c7e45fa29f73ba3e00cb
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 <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/array.c
fs/proc/base.c
include/linux/tracehook.h
security/selinux/hooks.c
This page took 0.04584 seconds and 4 git commands to generate.