#include <linux/sched.h>
Go to the source code of this file.
aa_may_ptrace - test if tracer task can trace the tracee : task who will do the tracing (NOT NULL) : profile of the task doing the tracing (NOT NULL) : task to be traced : whether PTRACE_MODE_READ || PTRACE_MODE_ATTACH
Returns: %0 else error code if permission denied or error
Definition at line 64 of file ipc.c.
aa_ptrace - do ptrace permission check and auditing : task doing the tracing (NOT NULL) : task being traced (NOT NULL) : ptrace mode either PTRACE_MODE_READ || PTRACE_MODE_ATTACH
Returns: %0 else error code if permission denied or error
Definition at line 86 of file ipc.c.