On Tue, 20 Nov 2018 16:44:22 PST (-0800), ldv****@altli***** 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"). > > Cc: linux****@vger***** > Cc: linux****@vger***** > Cc: linux****@lists***** > Cc: linux****@redha***** > Cc: linux****@linux***** > Cc: linux****@vger***** > Cc: linux****@vger***** > Cc: linux****@lists***** > Cc: linux****@linux***** > Cc: linux****@vger***** > Cc: linux****@lists***** > Cc: linux****@vger***** > Cc: linux****@vger***** > Cc: linux****@lists***** > Cc: linux****@lists***** > Cc: linux****@linux***** > Cc: linux****@lists***** > Cc: nios2****@lists***** > Cc: openr****@lists***** > Cc: sparc****@vger***** > Cc: uclin****@lists***** > Cc: x86****@kerne***** > Signed-off-by: Dmitry V. Levin <ldv****@altli*****> Reviewed-by: Palmer Dabbelt <palme****@sifiv*****>