]> git.baikalelectronics.ru Git - kernel.git/commit
audit: make audit_inode take struct filename
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Oct 2012 20:43:13 +0000 (16:43 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Oct 2012 00:15:09 +0000 (20:15 -0400)
commit7418f3d2f3265fcbb3d09c47eaf5c17c5f9909cd
treef0427a11a91af2f5a5d0037ce52c32633019120b
parenta5c663bdbab515a9d04901f97d8727de13c47e05
audit: make audit_inode take struct filename

Keep a pointer to the audit_names "slot" in struct filename.

Have all of the audit_inode callers pass a struct filename ponter to
audit_inode instead of a string pointer. If the aname field is already
populated, then we can skip walking the list altogether and just use it
directly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/audit.h
include/linux/fs.h
ipc/mqueue.c
kernel/auditsc.c