[PATCH 12/13] um: pass all six syscall args to audit_syscall_entry()
Ricardo Robaina <[email protected]>
| Newsgroups | gmane.linux.uml.devel,gmane.linux.kernel,gmane.linux.ports.alpha,gmane.linux.ports.arm.kernel,gmane.linux.ports.mips,gmane.linux.ports.parisc,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.kernel.bpf |
|---|---|
| Message-ID | <c4118be04a7247aca96de49950dd5d866aa352b8.1786626275.git.rrobaina@redhat.com> |
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 <[email protected]> --- 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