]> 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)
commitbfa1cf42a0b1f5b1deafa3e710f5b5caef90d231
tree59a64b96c9f35b8559db4c46b5a43d2d9510c190
parent52e4ae8238b6cfab01d754b037887e10eacb611e
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