summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2006-08-26 14:06:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2006-09-11 13:32:04 -0400
commit3b33ac3182a4554742757a0c61ee1df162cf8225 (patch)
treeedf8603a39931681f679388d3aaee154930f9192 /kernel
parente004876c3b0b6a71406069b0e55368cb9bbdc920 (diff)
[PATCH] fix ppid bug in 2.6.18 kernel
Hello, During some troubleshooting, I found that ppid was accidentally omitted from the legacy rule section. This resulted in EINVAL for any rule with ppid sent with AUDIT_ADD. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/auditfilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index 6a9a5c5a4e7..0d6a8fc21f1 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -404,6 +404,7 @@ static struct audit_entry *audit_rule_to_entry(struct audit_rule *rule)
case AUDIT_PERS:
case AUDIT_ARCH:
case AUDIT_MSGTYPE:
+ case AUDIT_PPID:
case AUDIT_DEVMAJOR:
case AUDIT_DEVMINOR:
case AUDIT_EXIT: