new helper: audit_file()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Oct 2014 21:44:57 +0000 (17:44 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 18:01:26 +0000 (13:01 -0500)
commit9f45f5bf302daad6835ce64701fb3c286a2cc6af
treef267e8363c8c9db15195f1698997179a1370687c
parent6f4e0d5aaa9efaa701f4c3c0bb9b22d7943157c9
new helper: audit_file()

... for situations when we don't have any candidate in pathnames - basically,
in descriptor-based syscalls.

[Folded the build fix for !CONFIG_AUDITSYSCALL configs from Chen Gang]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c
fs/xattr.c
include/linux/audit.h
ipc/mqueue.c
kernel/auditsc.c