On Tue, Nov 20, 2018 at 4:44 PM Dmitry V. Levin <ldv@xxxxxxxxxxxx> wrote:
This argument is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request: syscall_get_arch() is going to be called from ptrace_request() along with other syscall_get_* functions with a tracee as their argument. This change partially reverts commit 5e937a9ae913 ("syscall_get_arch: remove useless function arguments").
Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx> # for x86