]> err.no Git - linux-2.6/commit
[PATCH] fix missed create event for directory audit
authorAmy Griffis <amy.griffis@hp.com>
Thu, 13 Jul 2006 17:16:39 +0000 (13:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Aug 2006 14:50:30 +0000 (10:50 -0400)
commit73d3ec5abad3f1730ac8530899d2c14d92f3ad63
treec2829a1e36ca155eecc7d4b8648fe9755247bec5
parent3e2efce067cec0099f99ae59f28feda99b02b498
[PATCH] fix missed create event for directory audit

When an object is created via a symlink into an audited directory, audit misses
the event due to not having collected the inode data for the directory.  Modify
__audit_inode_child() to copy the parent inode data if a parent wasn't found in
audit_names[].

Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/audit.h
include/linux/fsnotify.h
kernel/auditsc.c