[PATCH v2 06/13] microblaze: pass pt_regs to audit_syscall_entry()
From: Ricardo Robaina
Date: Wed Sep 02 2026 - 12:22:46 EST
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@xxxxxxxxxx>
---
arch/microblaze/kernel/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/microblaze/kernel/ptrace.c b/arch/microblaze/kernel/ptrace.c
index 236264e932d6..5fe9e3a150f4 100644
--- a/arch/microblaze/kernel/ptrace.c
+++ b/arch/microblaze/kernel/ptrace.c
@@ -147,7 +147,7 @@ asmlinkage unsigned long do_syscall_trace_enter(struct pt_regs *regs)
*/
ret = -1L;
- audit_syscall_entry(regs->r12, regs->r5, regs->r6, regs->r7, regs->r8);
+ audit_syscall_entry(regs->r12, regs);
return ret ?: regs->r12;
}
--
2.55.0