[PATCH 06/13] microblaze: pass all six syscall args to audit_syscall_entry()
Ricardo Robaina
rrobaina at redhat.com
Thu Aug 13 10:02:56 PDT 2026
Update the audit_syscall_entry() call to forward the 5th and 6th
syscall arguments (r9, r10) now that the audit core logs all six.
Signed-off-by: Ricardo Robaina <rrobaina at redhat.com>
---
arch/microblaze/kernel/ptrace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/microblaze/kernel/ptrace.c b/arch/microblaze/kernel/ptrace.c
index 5234d0c1dcaa..21bcd8dfe42d 100644
--- a/arch/microblaze/kernel/ptrace.c
+++ b/arch/microblaze/kernel/ptrace.c
@@ -147,7 +147,8 @@ 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->r5, regs->r6, regs->r7,
+ regs->r8, regs->r9, regs->r10);
return ret ?: regs->r12;
}
--
2.55.0
More information about the linux-arm-kernel
mailing list