commit | a5cb013da773a67ee48d1c19e96436c22a73a7eb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 20 13:58:35 2007 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri May 11 05:38:25 2007 -0400 |
tree | 8832d105c4742674423bd50352b8a4805c44fecc | |
parent | 129a84de2347002f09721cda3155ccfd19fade40 [diff] [blame] |
[PATCH] auditing ptrace Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 4d50e06..ad7949a 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c
@@ -18,6 +18,7 @@ #include <linux/ptrace.h> #include <linux/security.h> #include <linux/signal.h> +#include <linux/audit.h> #include <asm/pgtable.h> #include <asm/uaccess.h> @@ -161,6 +162,8 @@ { int retval; + audit_ptrace(task); + retval = -EPERM; if (task->pid <= 1) goto out;