]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/namei.c
audit: enable filename recording via getname_kernel()
authorPaul Moore <pmoore@redhat.com>
Thu, 22 Jan 2015 05:00:10 +0000 (00:00 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 23 Jan 2015 05:23:52 +0000 (00:23 -0500)
commitfd3522fdc84023b050bb40318d9fc71a9adc22bc
treedc0df711a6d6590a1944469b7d8b6f5fe9641f12
parentcbaab2db9103cc6727c7166d2fda9f64038c828c
audit: enable filename recording via getname_kernel()

Enable recording of filenames in getname_kernel() and remove the
kludgy workaround in __audit_inode() now that we have proper filename
logging for kernel users.

CC: viro@zeniv.linux.org.uk
CC: linux-fsdevel@vger.kernel.org
Signed-off-by: Paul Moore <pmoore@redhat.com>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
kernel/auditsc.c