* [PATCH] fix audit inode filter
@ 2005-02-26 2:32 Chris Wright
0 siblings, 0 replies; only message in thread
From: Chris Wright @ 2005-02-26 2:32 UTC (permalink / raw)
To: akpm; +Cc: linux-audit, linux-kernel
Audit inode filter drops high bits on inode number by cut 'n paste mistake.
Signed-off-by: Chris Wright <chrisw@osdl.org>
--- linus-2.6/kernel/auditsc.c~audit-inode-filter-fix 2005-02-24 16:55:32.000000000 -0800
+++ linus-2.6/kernel/auditsc.c 2005-02-25 18:23:15.000000000 -0800
@@ -358,7 +358,7 @@ static int audit_filter_rules(struct tas
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-26 2:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26 2:32 [PATCH] fix audit inode filter Chris Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®