diff options
author | Amy Griffis <amy.griffis@hp.com> | 2006-07-13 19:16:02 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-08-03 16:50:21 +0200 |
commit | 3e2efce067cec0099f99ae59f28feda99b02b498 (patch) | |
tree | 94577cb6cb7f223319bb89a805b2d6945d42632e /Makefile | |
parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
download | linux-3e2efce067cec0099f99ae59f28feda99b02b498.tar.xz linux-3e2efce067cec0099f99ae59f28feda99b02b498.zip |
[PATCH] fix faulty inode data collection for open() with O_CREAT
When the specified path is an existing file or when it is a symlink, audit
collects the wrong inode number, which causes it to miss the open() event.
Adding a second hook to the open() path fixes this.
Also add audit_copy_inode() to consolidate some code.
Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions