diff options
author | 2005-11-03 15:57:06 +0000 | |
---|---|---|
committer | 2006-03-20 14:08:53 -0500 | |
commit | f38aa94224c5517a40ba56d453779f70d3229803 (patch) | |
tree | 30d0f7390cb2f1cf33a55080cb6c0676727af1fa /kernel/auditsc.c | |
parent | [PATCH] Define new range of userspace messages. (diff) | |
download | linux-f38aa94224c5517a40ba56d453779f70d3229803.tar.gz linux-f38aa94224c5517a40ba56d453779f70d3229803.tar.bz2 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 'kernel/auditsc.c')
-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 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; } |