| /src/usr.bin/gcore/ |
| gcore.c | 104 (void)ptrace(PT_DETACH, pid, (void *)1, 0); 115 (void)ptrace(PT_DETACH, pid, (void *)1, 0); 119 if (ptrace(PT_DETACH, pid, (void *)1, 0) == -1) 120 err(1, "ptrace(PT_DETACH) to %lu failed", lval);
|
| /src/external/gpl3/gdb.old/dist/gdb/nat/ |
| gdb_ptrace.h | 103 #ifndef PT_DETACH 105 # define PT_DETACH PTRACE_DETACH
|
| /src/external/gpl3/gdb/dist/gdb/nat/ |
| gdb_ptrace.h | 103 #ifndef PT_DETACH 105 # define PT_DETACH PTRACE_DETACH
|
| /src/tests/lib/libc/sys/ |
| t_ptrace_misc_wait.h | 113 USER_VA0_DISABLE(user_va0_disable_pt_detach, PT_DETACH)
|
| t_ptrace_syscall_wait.h | 127 ptrace(PT_DETACH, child, (void *)1, 0) != -1);
|
| t_ptrace_fork_wait.h | 827 op = kill_process ? PT_KILL : PT_DETACH; 871 op = kill_process ? PT_KILL : PT_DETACH; 1075 op = kill_process ? PT_KILL : PT_DETACH; 1119 op = kill_process ? PT_KILL : PT_DETACH;
|
| t_ptrace_topology_wait.h | 437 DPRINTF("Resume parent with PT_DETACH\n"); 438 FORKEE_ASSERT(ptrace(PT_DETACH, getppid(), (void *)1, 0)
|
| /src/external/bsd/libproc/dist/ |
| proc_util.c | 85 ptrace(PT_DETACH, phdl->pid, (void *)(uintptr_t)1, 0); 89 if (ptrace(PT_DETACH, phdl->pid, (void *)(uintptr_t)1, 0) == 0) 106 if (ptrace(PT_DETACH, phdl->pid, (void *)(uintptr_t)1, 0) == -1)
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| obsd-nat.c | 171 if (ptrace (PT_DETACH, child_ptid.pid (), (PTRACE_TYPE_ARG3)1, 0) == -1)
|
| inf-ptrace.c | 200 #ifdef PT_DETACH 206 ptrace (PT_DETACH, pid, (PTRACE_TYPE_ARG3)1, 0);
|
| fbsd-nat.c | 1867 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 1877 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 1916 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 2058 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 2109 if (ptrace (PT_DETACH, inf->pid, (caddr_t) 1, 0) == -1) 2110 perror_with_name (("ptrace (PT_DETACH)")); 2149 (void) ptrace (PT_DETACH, child, (caddr_t) 1, 0); 2213 if (ptrace (PT_DETACH, child_pid, (PTRACE_TYPE_ARG3) 1, 0) == -1) 2214 perror_with_name (("ptrace (PT_DETACH)"));
|
| rs6000-aix-nat.c | 477 rs6000_ptrace64 (PT_DETACH, child_ptid.pid (), 0, 0, 0); 479 rs6000_ptrace32 (PT_DETACH, child_ptid.pid (), 0, 0, 0);
|
| /src/external/gpl3/gdb/dist/gdb/ |
| obsd-nat.c | 171 if (ptrace (PT_DETACH, child_ptid.pid (), (PTRACE_TYPE_ARG3)1, 0) == -1)
|
| inf-ptrace.c | 200 #ifdef PT_DETACH 206 ptrace (PT_DETACH, pid, (PTRACE_TYPE_ARG3)1, 0);
|
| fbsd-nat.c | 1867 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 1877 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 1916 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 2058 (void) ptrace (PT_DETACH, pid, (caddr_t) 1, 0); 2109 if (ptrace (PT_DETACH, inf->pid, (caddr_t) 1, 0) == -1) 2110 perror_with_name (("ptrace (PT_DETACH)")); 2149 (void) ptrace (PT_DETACH, child, (caddr_t) 1, 0); 2213 if (ptrace (PT_DETACH, child_pid, (PTRACE_TYPE_ARG3) 1, 0) == -1) 2214 perror_with_name (("ptrace (PT_DETACH)"));
|
| rs6000-aix-nat.c | 477 rs6000_ptrace64 (PT_DETACH, child_ptid.pid (), 0, 0, 0); 479 rs6000_ptrace32 (PT_DETACH, child_ptid.pid (), 0, 0, 0);
|
| /src/sys/kern/ |
| sys_ptrace_common.c | 266 case PT_DETACH: 436 case PT_DETACH: 498 case PT_DETACH: 1218 case PT_DETACH: 1262 if (req == PT_DETACH) { 1365 if (req == PT_DETACH) {
|
| /src/sys/sys/ |
| ptrace.h | 48 #define PT_DETACH 10 /* detach from running process */ 86 /* 10 */ "PT_DETACH", \
|
| /src/tests/kernel/ |
| t_lockf.c | 174 ATF_REQUIRE_MSG(ptrace(PT_DETACH, pid[i], (caddr_t)1,
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_stoptheworld_netbsd_libcdep.cpp | 97 if (!internal_iserror(internal_ptrace(PT_DETACH, pid_, (void *)(uptr)1, 0),
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_stoptheworld_netbsd_libcdep.cpp | 97 if (!internal_iserror(internal_ptrace(PT_DETACH, pid_, (void *)(uptr)1, 0),
|
| /src/sys/compat/sunos/ |
| sunos_misc.c | 956 PT_KILL, -1, PT_ATTACH, PT_DETACH,
|
| /src/external/gpl3/gdb.old/dist/gdbserver/ |
| netbsd-low.cc | 448 ptrace (PT_DETACH, pid, (void *) 1, 0); 471 /* The PT_DETACH is sufficient to detach from the process.
|
| /src/external/gpl3/gdb/dist/gdbserver/ |
| netbsd-low.cc | 446 ptrace (PT_DETACH, pid, (void *) 1, 0); 469 /* The PT_DETACH is sufficient to detach from the process.
|
| /src/sys/compat/sunos32/ |
| sunos32_misc.c | 1190 PT_KILL, -1, PT_ATTACH, PT_DETACH,
|