audit: __audit_syscall_entry: ignore arch arg and call syscall_get_arch() directly
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 28 Feb 2014 19:30:45 +0000 (14:30 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:21:26 +0000 (16:21 -0400)
commit4a99854c5840065e7d3a464523cbe1993acb4f00
tree5b1bc32d34f7cfca1ebf81a61c36be7a25fda231
parent91397401bb5072f71e8ce8744ad0bdec3e875a91
audit: __audit_syscall_entry: ignore arch arg and call syscall_get_arch() directly

Since every arch should have syscall_get_arch() defined, stop using the
function argument and just collect this ourselves.  We do not drop the
argument as fixing some code paths (in assembly) to not pass this first
argument is non-trivial.  The argument will be dropped when that is
fixed.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c