audit: inline checks for not needing to collect aux records
authorEric Paris <eparis@redhat.com>
Tue, 3 Jan 2012 19:23:07 +0000 (14:23 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jan 2012 21:16:57 +0000 (16:16 -0500)
commit07c49417877f8658a6aa0ad9b4e21e4fd4df11b6
tree59a64b96c9f35b8559db4c46b5a43d2d9510c190
parent56179a6ec65a56e0279a58e35cb450d38f061b94
audit: inline checks for not needing to collect aux records

A number of audit hooks make function calls before they determine that
auxilary records do not need to be collected.  Do those checks as static
inlines since the most common case is going to be that records are not
needed and we can skip the function call overhead.

Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/audit.h
kernel/auditsc.c