From 6fee9c70a787c5368976562888711687f8218d98 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 27 Oct 2016 12:10:30 +0300 Subject: infect: Remove parasite-syscall.h from infect This is * Move parasite_setup_regs() and related into arch/infect * Move arch_can_dump_task() into infect * Move parasite_send_fd() into infect-util and completes parasite-syscall.h removal. Signed-off-by: Pavel Emelyanov Signed-off-by: Andrei Vagin --- compel/arch/aarch64/src/lib/include/ptrace.h | 4 ++++ compel/arch/aarch64/src/lib/include/syscall.h | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 compel/arch/aarch64/src/lib/include/ptrace.h create mode 100644 compel/arch/aarch64/src/lib/include/syscall.h (limited to 'compel/arch/aarch64') diff --git a/compel/arch/aarch64/src/lib/include/ptrace.h b/compel/arch/aarch64/src/lib/include/ptrace.h new file mode 100644 index 000000000..9cf7d460d --- /dev/null +++ b/compel/arch/aarch64/src/lib/include/ptrace.h @@ -0,0 +1,4 @@ +#ifndef __COMPEL_PTRACE_H__ +#define __COMPEL_PTRACE_H__ +#define ARCH_SI_TRAP TRAP_BRKPT +#endif diff --git a/compel/arch/aarch64/src/lib/include/syscall.h b/compel/arch/aarch64/src/lib/include/syscall.h new file mode 100644 index 000000000..e2ec1272e --- /dev/null +++ b/compel/arch/aarch64/src/lib/include/syscall.h @@ -0,0 +1,4 @@ +#ifndef __COMPEL_SYSCALL_H__ +#define __COMPEL_SYSCALL_H__ +#define __NR(syscall, compat) __NR_##syscall +#endif -- cgit v1.2.3