diff options
author | Amy Griffis <amy.griffis@hp.com> | 2007-02-13 14:15:01 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2007-05-11 05:38:26 -0400 |
commit | 4fc03b9beb2314f3adb9e72b7935a80c577954d1 (patch) | |
tree | 81e04534c582923fcdc8212497d1487ddae412a8 /fs/namei.c | |
parent | 510f4006e7a82b37b53c17bbe64ec20f3a59302b (diff) |
[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.c | 2 |
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: | |||
1719 | * It already exists. | 1719 | * It already exists. |
1720 | */ | 1720 | */ |
1721 | mutex_unlock(&dir->d_inode->i_mutex); | 1721 | mutex_unlock(&dir->d_inode->i_mutex); |
1722 | audit_inode_update(path.dentry->d_inode); | 1722 | audit_inode(pathname, path.dentry->d_inode); |
1723 | 1723 | ||
1724 | error = -EEXIST; | 1724 | error = -EEXIST; |
1725 | if (flag & O_EXCL) | 1725 | if (flag & O_EXCL) |