diff options
| author | Amy Griffis <[email protected]> | 2006-07-13 17:16:02 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2006-08-03 14:50:21 +0000 |
| commit | 3e2efce067cec0099f99ae59f28feda99b02b498 (patch) | |
| tree | 94577cb6cb7f223319bb89a805b2d6945d42632e /net/lapb/lapb_iface.c | |
| parent | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
| download | kernel-3e2efce067cec0099f99ae59f28feda99b02b498.tar.gz kernel-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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
