History

c6x: 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.

Dmitry V. Levin committed 7 years ago

Commit a43e6641 parent 67f2a8a2 files · +9 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/audit.h+2−0
@@ -381,6 +381,8 @@ enum { · 380 unmodified lines
381#define AUDIT_ARCH_ARCV2BE (EM_ARCV2)381#define AUDIT_ARCH_ARCV2BE (EM_ARCV2)
382#define AUDIT_ARCH_ARM (EM_ARM|__AUDIT_ARCH_LE)382#define AUDIT_ARCH_ARM (EM_ARM|__AUDIT_ARCH_LE)
383#define AUDIT_ARCH_ARMEB (EM_ARM)383#define AUDIT_ARCH_ARMEB (EM_ARM)
384#define AUDIT_ARCH_C6X (EM_TI_C6000|__AUDIT_ARCH_LE)
385#define AUDIT_ARCH_C6XBE (EM_TI_C6000)
384#define AUDIT_ARCH_CRIS (EM_CRIS|__AUDIT_ARCH_LE)386#define AUDIT_ARCH_CRIS (EM_CRIS|__AUDIT_ARCH_LE)
385#define AUDIT_ARCH_CSKY (EM_CSKY|__AUDIT_ARCH_LE)387#define AUDIT_ARCH_CSKY (EM_CSKY|__AUDIT_ARCH_LE)
386#define AUDIT_ARCH_FRV (EM_FRV)388#define AUDIT_ARCH_FRV (EM_FRV)