diff options
author | Steve Grubb <sgrubb@redhat.com> | 2006-08-26 14:06:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-11 13:32:04 -0400 |
commit | 3b33ac3182a4554742757a0c61ee1df162cf8225 (patch) | |
tree | edf8603a39931681f679388d3aaee154930f9192 /kernel | |
parent | e004876c3b0b6a71406069b0e55368cb9bbdc920 (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 6a9a5c5a4e7d..0d6a8fc21f17 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) | |||
404 | case AUDIT_PERS: | 404 | case AUDIT_PERS: |
405 | case AUDIT_ARCH: | 405 | case AUDIT_ARCH: |
406 | case AUDIT_MSGTYPE: | 406 | case AUDIT_MSGTYPE: |
407 | case AUDIT_PPID: | ||
407 | case AUDIT_DEVMAJOR: | 408 | case AUDIT_DEVMAJOR: |
408 | case AUDIT_DEVMINOR: | 409 | case AUDIT_DEVMINOR: |
409 | case AUDIT_EXIT: | 410 | case AUDIT_EXIT: |