From c954ac161868a63a572a00140b4f81092581c44f Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 27 Oct 2016 14:25:46 +0300 Subject: infect: Move breakpoints management into infect This removes restorer.h from infect. The header describes routines, structures and constants messing with restorer blob. Signed-off-by: Pavel Emelyanov Signed-off-by: Andrei Vagin --- compel/arch/aarch64/src/lib/include/ptrace.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (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 index 9cf7d460d..e18454df2 100644 --- a/compel/arch/aarch64/src/lib/include/ptrace.h +++ b/compel/arch/aarch64/src/lib/include/ptrace.h @@ -1,4 +1,15 @@ #ifndef __COMPEL_PTRACE_H__ #define __COMPEL_PTRACE_H__ #define ARCH_SI_TRAP TRAP_BRKPT + +static inline int ptrace_set_breakpoint(pid_t pid, void *addr) +{ + return 0; +} + +static inline int ptrace_flush_breakpoints(pid_t pid) +{ + return 0; +} + #endif -- cgit v1.2.3