|
@@ -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)) {
|