History

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.

Dmitry V. Levin committed 7 years ago

Commit fa562441 parent 530ff232 files · +11 −0Browse files

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

Unified · Split

include/uapi/linux/audit.h+2−0
@@ -401,6 +401,8 @@ enum { · 400 unmodified lines
401401 #define AUDIT_ARCH_MIPSEL64 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
402402 #define AUDIT_ARCH_MIPSEL64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE|\
403403 __AUDIT_ARCH_CONVENTION_MIPS64_N32)
404+#define AUDIT_ARCH_NDS32 (EM_NDS32|__AUDIT_ARCH_LE)
405+#define AUDIT_ARCH_NDS32BE (EM_NDS32)
404406 #define AUDIT_ARCH_OPENRISC (EM_OPENRISC)
405407 #define AUDIT_ARCH_PARISC (EM_PARISC)
406408 #define AUDIT_ARCH_PARISC64 (EM_PARISC|__AUDIT_ARCH_64BIT)