Skip to contentSkip to conversation

fix audit inode filter

PATCH New Chris Wright 1 participant 1 message Feb 26, 2005 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix audit inode filter

Audit inode filter drops high bits on inode number by cut 'n paste mistake.

kernel/auditsc.c renamed from kernel/auditsc.c~audit-inode-filter-fix +1 -1
@@ -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;
 					}