[PATCH 12/13] um: pass all six syscall args to audit_syscall_entry()
Ricardo Robaina
rrobaina at redhat.com
Thu Aug 13 10:03:02 PDT 2026
Update the audit_syscall_entry() call to forward the 5th and 6th
syscall arguments (UPT_SYSCALL_ARG5, UPT_SYSCALL_ARG6) now that
the audit core logs all six.
Signed-off-by: Ricardo Robaina <rrobaina at redhat.com>
---
arch/um/kernel/ptrace.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/um/kernel/ptrace.c b/arch/um/kernel/ptrace.c
index fdbb37b5c399..c597a368592d 100644
--- a/arch/um/kernel/ptrace.c
+++ b/arch/um/kernel/ptrace.c
@@ -127,7 +127,9 @@ int syscall_trace_enter(struct pt_regs *regs)
UPT_SYSCALL_ARG1(®s->regs),
UPT_SYSCALL_ARG2(®s->regs),
UPT_SYSCALL_ARG3(®s->regs),
- UPT_SYSCALL_ARG4(®s->regs));
+ UPT_SYSCALL_ARG4(®s->regs),
+ UPT_SYSCALL_ARG5(®s->regs),
+ UPT_SYSCALL_ARG6(®s->regs));
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
trace_sys_enter(regs, UPT_SYSCALL_NR(®s->regs));
--
2.55.0
More information about the linux-arm-kernel
mailing list