Lines Matching defs:tracee2
357 pid_t tracee2 = 0;
391 FORKEE_ASSERT_EQ(posix_spawn(&tracee2,
395 FORKEE_ASSERT((tracee2 = fork()) != -1);
397 FORKEE_ASSERT((tracee2 = vfork()) != -1);
400 if (tracee2 == 0)
404 (wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
533 tracee2 = state.pe_other_pid;
534 DPRINTF("Reported ptrace event with forkee %d\n", tracee2);
537 "%d\n", TWAIT_FNAME, tracee2, tracee);
538 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0),
539 tracee2);
544 ptrace(PT_GET_PROCESS_STATE, tracee2, &state, slen) != -1);
564 ptrace(PT_CONTINUE, tracee2, (void *)1, 0) != -1);
583 tracee2 = state.pe_other_pid;
585 tracee2);
598 wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
605 wpid = TWAIT_GENERIC(tracee2, &status, 0));
938 pid_t tracee2 = 0;
964 FORKEE_ASSERT_EQ(posix_spawn(&tracee2,
968 FORKEE_ASSERT((tracee2 = fork()) != -1);
970 FORKEE_ASSERT((tracee2 = vfork()) != -1);
973 if (tracee2 == 0)
978 (wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
1071 tracee2 = state.pe_other_pid;
1072 DPRINTF("Reported ptrace event with forkee %d\n", tracee2);
1081 TWAIT_FNAME, tracee2, tracee);
1082 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
1087 ptrace(PT_GET_PROCESS_STATE, tracee2, &state, slen) != -1);
1101 ptrace(PT_CONTINUE, tracee2, (void *)1, 0) != -1);
1115 tracee2 = state.pe_other_pid;
1117 tracee2);
1127 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
1133 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(tracee2, &status, 0));