aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 63223d671a6e..065c7a14935e 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -566,7 +566,7 @@ static int audit_filter_rules(struct task_struct *tsk,
566 break; 566 break;
567 case AUDIT_INODE: 567 case AUDIT_INODE:
568 if (name) 568 if (name)
569 result = (name->ino == f->val); 569 result = audit_comparator(name->ino, f->op, f->val);
570 else if (ctx) { 570 else if (ctx) {
571 list_for_each_entry(n, &ctx->names_list, list) { 571 list_for_each_entry(n, &ctx->names_list, list) {
572 if (audit_comparator(n->ino, f->op, f->val)) { 572 if (audit_comparator(n->ino, f->op, f->val)) {