Skip to content

Commit

Permalink
[PATCH] fix ppid bug in 2.6.18 kernel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RH-steve-grubb authored and Al Viro committed Sep 11, 2006
1 parent e004876 commit 3b33ac3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/auditfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3b33ac3

Please sign in to comment.