[git pull] getname/putname stuff

From: Al Viro
Date: Tue Feb 17 2015 - 12:34:41 EST


Rework of getname/getname_kernel/etc., mostly from Paul Moore.
Gets rid of quite a pile of kludges between namei and audit...
Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git getname2

Shortlog:
Al Viro (2):
cut down the number of do_path_lookup() callers
simpler calling conventions for filename_mountpoint()

Paul Moore (5):
fs: rework getname_kernel to handle up to PATH_MAX sized filenames
fs: create proper filename objects using getname_kernel()
audit: enable filename recording via getname_kernel()
audit: fix filename matching in __audit_inode() and __audit_inode_child()
audit: replace getname()/putname() hacks with reference counters

Diffstat:
fs/exec.c | 10 ++-
fs/namei.c | 143 +++++++++++++++++++++++++----------------
fs/open.c | 10 ++-
include/linux/audit.h | 3 -
include/linux/fs.h | 9 +--
kernel/audit.h | 17 +----
kernel/auditsc.c | 171 +++++++++++---------------------------------------
7 files changed, 145 insertions(+), 218 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/