Commit aae94db3 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

[PATCH] fix audit inode filter

Audit inode filter drops high bits on inode number by cut 'n paste mistake.
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e0ea7ce8
...@@ -358,7 +358,7 @@ static int audit_filter_rules(struct task_struct *tsk, ...@@ -358,7 +358,7 @@ static int audit_filter_rules(struct task_struct *tsk,
case AUDIT_INODE: case AUDIT_INODE:
if (ctx) { if (ctx) {
for (j = 0; j < ctx->name_count; j++) { for (j = 0; j < ctx->name_count; j++) {
if (MINOR(ctx->names[j].ino)==value) { if (ctx->names[j].ino == value) {
++result; ++result;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment