Re: [PATCH 12/13] riscv: define syscall_get_arch()

From: David Abdurachmanov
Date: Fri Nov 09 2018 - 01:59:29 EST


On Fri, Nov 9, 2018 at 4:17 AM Dmitry V. Levin <ldv@xxxxxxxxxxxx> wrote:
>
> syscall_get_arch() is required to be implemented on all architectures
> that use tracehook_report_syscall_entry() in order to extend
> the generic ptrace API with PTRACE_GET_SYSCALL_INFO request.
>

I have posted audit support patch for RISC-V in October. Pending review.
It defines both AUDIT_ARCH_RISCV32 and AUDIT_ARCH_RISCV64.

See thread: http://lists.infradead.org/pipermail/linux-riscv/2018-October/001933.html

david