Lines Matching refs:tracee2

358 	pid_t tracee2 = 0;  in unrelated_tracer_fork_body()  local
392 FORKEE_ASSERT_EQ(posix_spawn(&tracee2, in unrelated_tracer_fork_body()
396 FORKEE_ASSERT((tracee2 = fork()) != -1); in unrelated_tracer_fork_body()
398 FORKEE_ASSERT((tracee2 = vfork()) != -1); in unrelated_tracer_fork_body()
401 if (tracee2 == 0) in unrelated_tracer_fork_body()
405 (wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2); in unrelated_tracer_fork_body()
534 tracee2 = state.pe_other_pid; in unrelated_tracer_fork_body()
535 DPRINTF("Reported ptrace event with forkee %d\n", tracee2); in unrelated_tracer_fork_body()
538 "%d\n", TWAIT_FNAME, tracee2, tracee); in unrelated_tracer_fork_body()
539 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), in unrelated_tracer_fork_body()
540 tracee2); in unrelated_tracer_fork_body()
545 ptrace(PT_GET_PROCESS_STATE, tracee2, &state, slen) != -1); in unrelated_tracer_fork_body()
565 ptrace(PT_CONTINUE, tracee2, (void *)1, 0) != -1); in unrelated_tracer_fork_body()
584 tracee2 = state.pe_other_pid; in unrelated_tracer_fork_body()
586 tracee2); in unrelated_tracer_fork_body()
600 wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2); in unrelated_tracer_fork_body()
607 wpid = TWAIT_GENERIC(tracee2, &status, 0)); in unrelated_tracer_fork_body()
940 pid_t tracee2 = 0; in unrelated_tracer_fork_detach_forker_body() local
966 FORKEE_ASSERT_EQ(posix_spawn(&tracee2, in unrelated_tracer_fork_detach_forker_body()
970 FORKEE_ASSERT((tracee2 = fork()) != -1); in unrelated_tracer_fork_detach_forker_body()
972 FORKEE_ASSERT((tracee2 = vfork()) != -1); in unrelated_tracer_fork_detach_forker_body()
975 if (tracee2 == 0) in unrelated_tracer_fork_detach_forker_body()
980 (wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2); in unrelated_tracer_fork_detach_forker_body()
1073 tracee2 = state.pe_other_pid; in unrelated_tracer_fork_detach_forker_body()
1074 DPRINTF("Reported ptrace event with forkee %d\n", tracee2); in unrelated_tracer_fork_detach_forker_body()
1083 TWAIT_FNAME, tracee2, tracee); in unrelated_tracer_fork_detach_forker_body()
1084 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2); in unrelated_tracer_fork_detach_forker_body()
1089 ptrace(PT_GET_PROCESS_STATE, tracee2, &state, slen) != -1); in unrelated_tracer_fork_detach_forker_body()
1103 ptrace(PT_CONTINUE, tracee2, (void *)1, 0) != -1); in unrelated_tracer_fork_detach_forker_body()
1117 tracee2 = state.pe_other_pid; in unrelated_tracer_fork_detach_forker_body()
1119 tracee2); in unrelated_tracer_fork_detach_forker_body()
1129 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2); in unrelated_tracer_fork_detach_forker_body()
1135 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(tracee2, &status, 0)); in unrelated_tracer_fork_detach_forker_body()