Home | History | Annotate | Download | only in x86

Lines Matching refs:ptrace

4 #include <sys/ptrace.h>
15 #include <asm/ptrace-abi.h>
183 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
204 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
208 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
227 * magical. It needs to work so that ptrace and syscall restart
232 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
235 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
239 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
264 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
267 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
271 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
283 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0)
297 printf("[RUN]\tkernel syscall restart under ptrace\n");
303 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
325 if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0)
331 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
349 if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0)
353 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
368 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
372 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0)
385 if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0)
391 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)