]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nios2: define syscall_get_arch()
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 17 Mar 2019 23:30:02 +0000 (02:30 +0300)
committerPaul Moore <paul@paul-moore.com>
Thu, 21 Mar 2019 01:11:08 +0000 (21:11 -0400)
commit1660aac45e5b49a5ace29fb5b73254617533fcbd
treee59200e555ba893240443351c3c6a27296e53253
parentfa562447e154334523daa44c0b60625d71a345f5
nios2: 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: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Elvira Khabirova <lineprinter@altlinux.org>
Cc: Eugene Syromyatnikov <esyr@redhat.com>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: nios2-dev@lists.rocketboards.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/nios2/include/asm/syscall.h
include/uapi/linux/audit.h