projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b85c3
)
audit: update AUDIT_INODE filter rule to comparator function
author
Richard Guy Briggs
<rgb@redhat.com>
Thu, 4 Jul 2013 16:56:11 +0000
(12:56 -0400)
committer
Eric Paris
<eparis@redhat.com>
Tue, 5 Nov 2013 16:08:24 +0000
(11:08 -0500)
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>
kernel/auditsc.c
patch
|
blob
|
history
diff --git
a/kernel/auditsc.c
b/kernel/auditsc.c
index
63223d6
..
065c7a1
100644
(file)
--- 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)) {