[PATCH v2 05/13] csky: pass pt_regs to audit_syscall_entry()
Ricardo Robaina
rrobaina at redhat.com
Wed Sep 2 07:43:38 PDT 2026
audit_syscall_entry() now takes a pointer to pt_regs and extracts
the syscall arguments itself via syscall_get_arguments(). Drop the
individual argument registers from the call and pass regs instead.
Signed-off-by: Ricardo Robaina <rrobaina at redhat.com>
---
arch/csky/kernel/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/csky/kernel/ptrace.c b/arch/csky/kernel/ptrace.c
index ee2867a1576e..5c3051bcd78c 100644
--- a/arch/csky/kernel/ptrace.c
+++ b/arch/csky/kernel/ptrace.c
@@ -329,7 +329,7 @@ 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);
return 0;
}
--
2.55.0
More information about the linux-arm-kernel
mailing list