summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorAmy Griffis <amy.griffis@hp.com>2005-11-03 16:57:06 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2006-03-20 20:08:53 +0100
commitf38aa94224c5517a40ba56d453779f70d3229803 (patch)
tree30d0f7390cb2f1cf33a55080cb6c0676727af1fa /kernel/auditsc.c
parent[PATCH] Define new range of userspace messages. (diff)
downloadlinux-f38aa94224c5517a40ba56d453779f70d3229803.tar.xz
linux-f38aa94224c5517a40ba56d453779f70d3229803.zip
[PATCH] Pass dentry, not just name, in fsnotify creation hooks.
The audit hooks (to be added shortly) will want to see dentry->d_inode too, not just the name. Signed-off-by: Amy Griffis <amy.griffis@hp.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to '')
-rw-r--r--kernel/auditsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 95076fa12202..55ba331757c5 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -515,7 +515,7 @@ static int audit_filter_rules(struct task_struct *tsk,
case AUDIT_INODE:
if (ctx) {
for (j = 0; j < ctx->name_count; j++) {
- if (audit_comparator(ctx->names[j].ino, op, value)) {
+ if ( audit_comparator(ctx->names[j].ino, op, value)) {
++result;
break;
}