unicore32: define syscall_get_arch()
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 17 Mar 2019 23:30:11 +0000 (02:30 +0300)
committerPaul Moore <paul@paul-moore.com>
Thu, 21 Mar 2019 01:12:09 +0000 (21:12 -0400)
commitb15fe94acece954feda32706e3ca7cc024999aee
treeab614a9644bd25cc7d2f0cbfacfce01583280054
parent03f7e6adfbd02d026817d2b0b21c8420fe58e0b3
unicore32: 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>
Cc: Elvira Khabirova <lineprinter@altlinux.org>
Cc: Eugene Syromyatnikov <esyr@redhat.com>
Cc: Guan Xuetao <gxt@pku.edu.cn>
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/unicore32/include/asm/syscall.h [new file with mode: 0644]
include/uapi/linux/audit.h