commit | 3c66251e573219a0532a5a07381b2f60a412d9eb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat May 06 08:26:27 2006 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jun 20 05:25:22 2006 -0400 |
tree | b047b25d28ae1abe6bb81daba886e44e0a82094f | |
parent | f46038ff7d23ae092d61b366332c05aab8227b48 [diff] [blame] |
[PATCH] add filtering by ppid Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 4fc3867..e455165 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c
@@ -188,6 +188,10 @@ case AUDIT_PID: result = audit_comparator(tsk->pid, f->op, f->val); break; + case AUDIT_PPID: + if (ctx) + result = audit_comparator(ctx->ppid, f->op, f->val); + break; case AUDIT_UID: result = audit_comparator(tsk->uid, f->op, f->val); break;