|
@@ -677,7 +677,7 @@ asmlinkage void syscall_trace_enter(struct pt_regs *regs)
|
|
|
if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT)))
|
|
|
trace_sys_enter(regs, regs->regs[2]);
|
|
|
|
|
|
- audit_syscall_entry(__syscall_get_arch(),
|
|
|
+ audit_syscall_entry(syscall_get_arch(current, regs),
|
|
|
regs->regs[2],
|
|
|
regs->regs[4], regs->regs[5],
|
|
|
regs->regs[6], regs->regs[7]);
|