From: Steve Grubb Date: Sat, 26 Aug 2006 18:06:20 +0000 (-0400) Subject: [PATCH] fix ppid bug in 2.6.18 kernel X-Git-Tag: v2.6.18-rc7~7^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3b33ac3182a4554742757a0c61ee1df162cf8225;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Al Viro --- 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: