Searched refs:tracee (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/tests/lib/libc/sys/
H A Dt_ptrace_topology_wait.h103 pid_t tracee, tracer, wpid; local
117 DPRINTF("Spawn tracee\n");
119 tracee = atf_utils_fork();
120 if (tracee == 0) {
127 CHILD_FROM_PARENT("exit tracee", parent_tracee, msg);
143 DPRINTF("Await for a stopped parent PID %d\n", tracee);
144 await_stopped(tracee);
147 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
148 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1);
150 /* Wait for tracee an
317 pid_t tracee, wpid; local
539 pid_t parent, tracee, tracer, wpid; local
[all...]
H A Dt_ptrace_fork_wait.h357 pid_t tracee, tracer, wpid; local
376 DPRINTF("Spawn tracee\n");
378 tracee = atf_utils_fork();
379 if (tracee == 0) {
386 CHILD_FROM_PARENT("exit tracee", parent_tracee, msg);
422 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
423 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1);
425 /* Wait for tracee and assert that it was stopped w/ SIGSTOP */
427 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
939 pid_t tracee, tracer, wpid; local
[all...]
H A Dt_ptrace_lwp_wait.h433 pid_t tracee, tracer, wpid; local
445 DPRINTF("Spawn tracee\n");
448 tracee = atf_utils_fork();
449 if (tracee == 0) {
451 CHILD_TO_PARENT("tracee ready", parent_tracee, msg);
460 CHILD_TO_PARENT("tracee exit", parent_tracee, msg);
468 PARENT_FROM_CHILD("tracee ready", parent_tracee, msg);
474 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
475 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1);
477 /* Wait for tracee an
[all...]
H A Dt_ptrace_signal_wait.h232 "Verify that ignoring (with SIG_IGN) " #sig " in tracee " \
325 "Verify that masking (with SIG_BLOCK) " #sig " in tracee " \
1675 pid_t tracee, tracer, wpid; local
1701 DPRINTF("Spawn tracee\n");
1703 tracee = atf_utils_fork();
1704 if (tracee == 0) {
1706 CHILD_FROM_PARENT("exit tracee", parent_tracee, msg);
1759 DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
1760 FORKEE_ASSERT(ptrace(PT_ATTACH, tracee, NULL, 0) != -1);
1762 /* Wait for tracee an
[all...]

Completed in 78 milliseconds