On Wed, Sep 02, 2026 at 11:43:37AM -0300, Ricardo Robaina wrote:
> 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 <[email protected]>
> ---
>  arch/arm64/kernel/ptrace.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c
> index f743cbec1c3a..65532b2a8cd4 100644
> --- a/arch/arm64/kernel/ptrace.c
> +++ b/arch/arm64/kernel/ptrace.c
> @@ -2476,8 +2476,7 @@ int syscall_trace_enter(struct pt_regs *regs)
>       if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
>               trace_sys_enter(regs, regs->syscallno);
>  
> -     audit_syscall_entry(regs->syscallno, regs->orig_x0, regs->regs[1],
> -                         regs->regs[2], regs->regs[3]);
> +     audit_syscall_entry(regs->syscallno, regs);

Acked-by: Will Deacon <[email protected]>

Thanks for doing this.

Will

Reply via email to