/src/tests/lib/libc/sys/ |
t_ptrace_fork_wait.h | 356 pid_t tracee, tracer, wpid; variable in typeref:typename:pid_t 375 DPRINTF("Spawn tracee\n"); 377 tracee = atf_utils_fork(); 378 if (tracee == 0) { 385 CHILD_FROM_PARENT("exit tracee", parent_tracee, msg); 421 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid()); 422 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1); 424 /* Wait for tracee and assert that it was stopped w/ SIGSTOP */ 426 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee); 937 pid_t tracee, tracer, wpid; variable in typeref:typename:pid_t [all...] |
t_ptrace_lwp_wait.h | 432 pid_t tracee, tracer, wpid; variable in typeref:typename:pid_t 444 DPRINTF("Spawn tracee\n"); 447 tracee = atf_utils_fork(); 448 if (tracee == 0) { 450 CHILD_TO_PARENT("tracee ready", parent_tracee, msg); 459 CHILD_TO_PARENT("tracee exit", parent_tracee, msg); 467 PARENT_FROM_CHILD("tracee ready", parent_tracee, msg); 473 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid()); 474 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1); 476 /* Wait for tracee and assert that it was stopped w/ SIGSTOP * [all...] |
t_ptrace_topology_wait.h | 102 pid_t tracee, tracer, wpid; local in function:tracer_sees_terminaton_before_the_parent_raw 116 DPRINTF("Spawn tracee\n"); 118 tracee = atf_utils_fork(); 119 if (tracee == 0) { 126 CHILD_FROM_PARENT("exit tracee", parent_tracee, msg); 142 DPRINTF("Await for a stopped parent PID %d\n", tracee); 143 await_stopped(tracee); 146 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid()); 147 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1); 149 /* Wait for tracee and assert that it was stopped w/ SIGSTOP * 316 pid_t tracee, wpid; local in function:parent_attach_to_its_child 538 pid_t parent, tracee, tracer, wpid; local in function:tracee_sees_its_original_parent [all...] |
t_ptrace_signal_wait.h | 267 "Verify that ignoring (with SIG_IGN) " #sig " in tracee " \ 360 "Verify that masking (with SIG_BLOCK) " #sig " in tracee " \ 1789 pid_t tracee, tracer, wpid; local in function:TRACEME_VFORK_SIGNALIGNORED_CRASH 1815 DPRINTF("Spawn tracee\n"); 1817 tracee = atf_utils_fork(); 1818 if (tracee == 0) { 1820 CHILD_FROM_PARENT("exit tracee", parent_tracee, msg); 1873 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid()); 1874 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1); 1876 /* Wait for tracee and assert that it was stopped w/ SIGSTOP * [all...] |