getname/putname stuff
Al Viro
maintainer Rework of getname/getname_kernel/etc., mostly from Paul Moore.
Gets rid of quite a pile of kludges between namei and audit... Please, pull fromgit://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(-)