Symbol: PT_ATTACH
lib/libproc/proc_create.c
145
if (ptrace(PT_ATTACH, proc_getpid(phdl), 0, 0) != 0) {
sys/compat/linux/linux_ptrace.c
510
error = kern_ptrace(td, PT_ATTACH, pid, addr, uap->data);
sys/i386/linux/linux_ptrace_machdep.c
285
error = kern_ptrace(td, PT_ATTACH, pid, addr, uap->data);
sys/kern/sys_process.c
1065
case PT_ATTACH:
sys/kern/sys_process.c
875
case PT_ATTACH:
sys/kern/sys_process.c
974
case PT_ATTACH:
tests/sys/file/path_test.c
306
error = ptrace(PT_ATTACH, child, 0, 0);
tests/sys/kern/pdeathsig.c
290
rc = ptrace(PT_ATTACH, c_pid, 0, 0);
tests/sys/kern/ptrace_test.c
1047
CHILD_REQUIRE(ptrace(PT_ATTACH, child, NULL, 0) != -1);
tests/sys/kern/ptrace_test.c
138
REQUIRE_EQ(ptrace(PT_ATTACH, pid, NULL, 0), 0);
tests/sys/kern/ptrace_test.c
299
CHILD_REQUIRE(ptrace(PT_ATTACH, child, NULL, 0) != -1);
tests/sys/kern/ptrace_test.c
3554
REQUIRE_EQ(ptrace(PT_ATTACH, child, NULL, 0), 0);
tests/sys/kern/ptrace_test.c
405
CHILD_REQUIRE(ptrace(PT_ATTACH, child, NULL, 0) != -1);
tests/sys/kern/ptrace_test.c
4188
error = ptrace(PT_ATTACH, debuggee, 0, 0);
tests/sys/kern/ptrace_test.c
4237
REQUIRE_EQ(ptrace(PT_ATTACH, traced, 0, 0), 0);
tests/sys/kern/ptrace_test.c
4332
REQUIRE_EQ(ptrace(PT_ATTACH, traced, 0, 0), 0);
tests/sys/kern/ptrace_test.c
4510
REQUIRE_EQ(ptrace(PT_ATTACH, debuggee, 0, 0), 0);
tests/sys/kern/ptrace_test.c
4565
REQUIRE_EQ(ptrace(PT_ATTACH, debuggee, 0, 0), 0);
tests/sys/kern/ptrace_test.c
512
REQUIRE_EQ(ptrace(PT_ATTACH, gchild, NULL, 0), 0);
tools/regression/security/proc_to_proc/scenario.c
333
error = ptrace(PT_ATTACH, pid1, NULL, 0);
usr.bin/gcore/elfcore.c
193
ptrace(PT_ATTACH, pid, NULL, 0);
usr.bin/gcore/gcore.c
93
error = ptrace(PT_ATTACH, pid, NULL, 0);
usr.bin/truss/setup.c
178
ret = ptrace(PT_ATTACH, pid, NULL, 0);