Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db510fc5 authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Eric Paris
Browse files

audit: update AUDIT_INODE filter rule to comparator function



It appears this one comparison function got missed in f368c07d (and 9c937dcc).

Signed-off-by: default avatarRichard Guy Briggs <rgb@redhat.com>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 21b85c31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {