diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2013-07-04 16:56:11 (GMT) |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-11-05 16:08:24 (GMT) |
commit | db510fc5cd9b9db214d7ec1828662942fac19c8c (patch) | |
tree | 8473c9414ea5f30ded69b2a0663dadf81cb18d1b | |
parent | 21b85c31d23f2047d47e1f74bfa5caa8b75c1c77 (diff) | |
download | linux-db510fc5cd9b9db214d7ec1828662942fac19c8c.tar.xz |
audit: update AUDIT_INODE filter rule to comparator function
It appears this one comparison function got missed in f368c07d (and 9c937dcc).
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 63223d6..065c7a1 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -566,7 +566,7 @@ static int audit_filter_rules(struct task_struct *tsk, break; case AUDIT_INODE: if (name) - result = (name->ino == f->val); + result = audit_comparator(name->ino, f->op, f->val); else if (ctx) { list_for_each_entry(n, &ctx->names_list, list) { if (audit_comparator(n->ino, f->op, f->val)) { |