diff options
| author | Chris Wright <chrisw@osdl.org> | 2005-02-28 19:48:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-28 19:48:10 -0800 |
| commit | aae94db3e7d8be66f54cbde432d37bd3c22374d1 (patch) | |
| tree | 7893406a75dce3f386c004baae59a5c5309a6834 /kernel | |
| parent | e0ea7ce8a2ff1f48b0b2aba9947fad22ebe7a46f (diff) | |
[PATCH] fix audit inode filter
Audit inode filter drops high bits on inode number by cut 'n paste mistake.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index c412d6779733..3435b71d809c 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -358,7 +358,7 @@ static int audit_filter_rules(struct task_struct *tsk, case AUDIT_INODE: if (ctx) { for (j = 0; j < ctx->name_count; j++) { - if (MINOR(ctx->names[j].ino)==value) { + if (ctx->names[j].ino == value) { ++result; break; } |
