[PATCH 05/13] csky: pass all six syscall args to audit_syscall_entry()
Ricardo Robaina
rrobaina at redhat.com
Thu Aug 13 10:02:55 PDT 2026
Update the audit_syscall_entry() call to forward the 5th and 6th
syscall arguments (a4, a5) now that the audit core logs all six.
Signed-off-by: Ricardo Robaina <rrobaina at redhat.com>
---
arch/csky/kernel/ptrace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/csky/kernel/ptrace.c b/arch/csky/kernel/ptrace.c
index 6bb685a2646b..562eaf23be82 100644
--- a/arch/csky/kernel/ptrace.c
+++ b/arch/csky/kernel/ptrace.c
@@ -329,7 +329,8 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs)
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
trace_sys_enter(regs, syscall_get_nr(current, regs));
- audit_syscall_entry(regs_syscallid(regs), regs->a0, regs->a1, regs->a2, regs->a3);
+ audit_syscall_entry(regs_syscallid(regs), regs->a0, regs->a1,
+ regs->a2, regs->a3, regs->a4, regs->a5);
return 0;
}
--
2.55.0
More information about the linux-arm-kernel
mailing list