From: Amy Griffis Date: Thu, 13 Jul 2006 17:16:02 +0000 (-0400) Subject: [PATCH] fix faulty inode data collection for open() with O_CREAT X-Git-Tag: v2.6.18-rc4~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e2efce067cec0099f99ae59f28feda99b02b498;p=pandora-kernel.git [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 Signed-off-by: Al Viro --- Reading git-diff-tree failed