nds32: define syscall_get_arch()
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 17 Mar 2019 23:29:57 +0000 (02:29 +0300)
committerPaul Moore <paul@paul-moore.com>
Thu, 21 Mar 2019 01:10:53 +0000 (21:10 -0400)
commitfa562447e154334523daa44c0b60625d71a345f5
tree8527f42d4c358102ea32bcfa0deb0b0ea20599a3
parent530ff23a8e46814a1be4a516c707d3b0fb292186
nds32: define syscall_get_arch()

syscall_get_arch() is required to be implemented on all architectures
in addition to already implemented syscall_get_nr(),
syscall_get_arguments(), syscall_get_error(), and
syscall_get_return_value() functions in order to extend the generic
ptrace API with PTRACE_GET_SYSCALL_INFO request.

Acked-by: Paul Moore <paul@paul-moore.com>
Acked-by: Vincent Chen <vincentc@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Cc: Elvira Khabirova <lineprinter@altlinux.org>
Cc: Eugene Syromyatnikov <esyr@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: linux-audit@redhat.com
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
arch/nds32/include/asm/syscall.h
include/uapi/linux/audit.h