summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAmy Griffis <amy.griffis@hp.com>2007-02-13 20:15:01 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2007-05-11 11:38:26 +0200
commit4fc03b9beb2314f3adb9e72b7935a80c577954d1 (patch)
tree81e04534c582923fcdc8212497d1487ddae412a8 /fs/namei.c
parent[PATCH] audit inode for all xattr syscalls (diff)
downloadlinux-4fc03b9beb2314f3adb9e72b7935a80c577954d1.tar.xz
linux-4fc03b9beb2314f3adb9e72b7935a80c577954d1.zip
[PATCH] complete message queue auditing
Handle the edge cases for POSIX message queue auditing. Collect inode info when opening an existing mq, and for send/receive operations. Remove audit_inode_update() as it has really evolved into the equivalent of audit_inode(). Signed-off-by: Amy Griffis <amy.griffis@hp.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index b3780e3fc88e..5e2d98d10c5d 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1719,7 +1719,7 @@ do_last:
* It already exists.
*/
mutex_unlock(&dir->d_inode->i_mutex);
- audit_inode_update(path.dentry->d_inode);
+ audit_inode(pathname, path.dentry->d_inode);
error = -EEXIST;
if (flag & O_EXCL)