Re: [PATCH v8 08/12] arm64/ptrace: Use syscall_get_arguments() heleper
From: Kevin Brodsky
Date: Thu Nov 27 2025 - 08:30:33 EST
On 26/11/2025 08:14, Jinjie Ruan wrote:
> The generic entry check audit context first and use
> syscall_get_arguments() helper.
>
> In order to switch to the generic entry for arm64,
>
> - Also use syscall_get_arguments() to get audit_syscall_entry()'s
> last four parameters.
>
> - Extract the syscall_enter_audit() helper to make it clear.
>
> - Check audit context first, which saves an unnecessary memcpy when
> current process's audit_context is NULL.
>
> Overall these changes make syscall_enter_audit() exactly equivalent
> to the generic one.
>
> No functional changes.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
As noted in v7, in subject: s/heleper/helper/
Otherwise:
Reviewed-by: Kevin Brodsky <kevin.brodsky@xxxxxxx>