[PATCH 06/13] microblaze: pass all six syscall args to audit_syscall_entry()
Ricardo Robaina <[email protected]>
| Newsgroups | gmane.linux.kernel.bpf,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.uml.devel |
|---|---|
| Message-ID | <eb3d7ae5d98f6b377a376bdb4dd1b80dfcda8922.1786626275.git.rrobaina@redhat.com> |
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 <[email protected]> --- 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