[PATCH 04/13] arm64: pass all six syscall args to audit_syscall_entry()
Ricardo Robaina <[email protected]>
| Newsgroups | gmane.linux.uml.devel,gmane.linux.kernel,gmane.linux.ports.alpha,gmane.linux.ports.arm.kernel,gmane.linux.ports.mips,gmane.linux.ports.parisc,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.kernel.bpf |
|---|---|
| Message-ID | <84e977166dfd72c8c5b53a54e86e149e7ed60672.1786626275.git.rrobaina@redhat.com> |
Update the audit_syscall_entry() call to forward the 5th and 6th syscall arguments (regs[4], regs[5]) now that the audit core logs all six. Signed-off-by: Ricardo Robaina <[email protected]> --- arch/arm64/kernel/ptrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 4d08598e2891..093c20bff38a 100644 --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -2427,7 +2427,8 @@ int syscall_trace_enter(struct pt_regs *regs) trace_sys_enter(regs, regs->syscallno); audit_syscall_entry(regs->syscallno, regs->orig_x0, regs->regs[1], - regs->regs[2], regs->regs[3]); + regs->regs[2], regs->regs[3], + regs->regs[4], regs->regs[5]); return regs->syscallno; } -- 2.55.0