Lines Matching defs:child
32 pid_t child, wpid;
47 SYSCALL_REQUIRE((child = fork()) != -1);
48 if (child == 0) {
49 DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
52 DPRINTF("Before raising %s from child\n", strsignal(sigval));
59 DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
61 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
62 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
67 "child\n");
68 SYSCALL_REQUIRE(ptrace(PT_GET_SIGINFO, child, &info,
80 DPRINTF("Before resuming the child process in PC=0x0 "
83 rv = ptrace(operation, child, (void *)0, 0);
87 SYSCALL_REQUIRE(ptrace(PT_KILL, child, NULL, 0) != -1);
89 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
90 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
93 DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME);
94 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));