]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit320f80db1e429d8d431b6b715676090b46c2aae4
tree59a64b96c9f35b8559db4c46b5a43d2d9510c190
parentb855148a5221a625998b4cb55a35532788092597
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