Skip to content
Commit b05d8447 authored by Eric Paris's avatar Eric Paris Committed by Al Viro
Browse files

audit: inline audit_syscall_entry to reduce burden on archs



Every arch calls:

if (unlikely(current->audit_context))
	audit_syscall_entry()

which requires knowledge about audit (the existance of audit_context) in
the arch code.  Just do it all in static inline in audit.h so that arch's
can remain blissfully ignorant.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent f031cd25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment