Home | History | Annotate | Download | only in ptrace

Lines Matching refs:ptrace

3  * A ptrace test for testing PTRACE_SYSEMU, PTRACE_SETREGS and
13 #include <sys/ptrace.h>
66 * Child process is running 4 syscalls after ptrace.
74 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0)
92 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
96 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
100 * Ptrace trapped prior to executing the syscall, thus r3 still has
127 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
130 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
134 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
170 if (ptrace(PTRACE_SETREGS, chld, 0, &regs) != 0)
173 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0)
177 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0)
180 /* Check that ptrace stopped at the new syscall that was
203 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0)