Lines Matching refs:ptrace
183 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_ptrace_syscall_restart()
204 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
208 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_ptrace_syscall_restart()
232 if (ptrace(PTRACE_SETREGS, chld, 0, ®s) != 0) in test_ptrace_syscall_restart()
235 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
239 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_ptrace_syscall_restart()
264 if (ptrace(PTRACE_SETREGS, chld, 0, ®s) != 0) in test_ptrace_syscall_restart()
267 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
271 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_ptrace_syscall_restart()
283 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
303 if (ptrace(PTRACE_TRACEME, 0, 0, 0) != 0) in test_restart_under_ptrace()
325 if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0) in test_restart_under_ptrace()
331 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_restart_under_ptrace()
349 if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0) in test_restart_under_ptrace()
353 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_restart_under_ptrace()
368 if (ptrace(PTRACE_SETREGS, chld, 0, ®s) != 0) in test_restart_under_ptrace()
372 if (ptrace(PTRACE_CONT, chld, 0, 0) != 0) in test_restart_under_ptrace()
385 if (ptrace(PTRACE_SYSCALL, chld, 0, 0) != 0) in test_restart_under_ptrace()
391 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_restart_under_ptrace()