Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4913c598 authored by Eric Paris's avatar Eric Paris
Browse files

audit: arm64: Remove the audit arch argument to audit_syscall_entry



The arm64 tree added calls to audit_syscall_entry() and rightly included
the syscall number.  The interface has since been changed to not need
the syscall number.  As such, arm64 should no longer pass that value.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 23fed621
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1115,8 +1115,8 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs)
	if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
	if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
		trace_sys_enter(regs, regs->syscallno);
		trace_sys_enter(regs, regs->syscallno);


	audit_syscall_entry(syscall_get_arch(), regs->syscallno,
	audit_syscall_entry(regs->syscallno, regs->orig_x0, regs->regs[1],
		regs->orig_x0, regs->regs[1], regs->regs[2], regs->regs[3]);
			    regs->regs[2], regs->regs[3]);


	return regs->syscallno;
	return regs->syscallno;
}
}