/src/tests/lib/libc/sys/ |
t_ptrace_kill_wait.h | 33 pid_t child, wpid; local in function:ptrace_kill 54 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 69 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 74 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_i386_wait.h | 41 pid_t child, wpid; local in function:ATF_TC_BODY 62 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 96 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 101 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_misc_wait.h | 32 pid_t child, wpid; local in function:user_va0_disable 62 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 90 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 94 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_amd64_wait.h | 44 pid_t child, wpid; local in function:ATF_TC_BODY 65 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 106 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 111 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_getpid.c | 61 pid_t ppid, fpid, cpid, tpid, wpid; local in function:ATF_TC_BODY 88 wpid = wait(&sta); 90 if (wpid != fpid)
|
t_ptrace_eventmask_wait.h | 34 pid_t child, wpid; local in function:eventmask_preserved 56 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 74 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 79 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_register_wait.h | 35 pid_t child, wpid; local in function:access_regs 72 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 142 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 147 wpid = TWAIT_GENERIC(child, &status, 0)); 151 wpid = TWAIT_GENERIC(child, &status, 0), child); 157 wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_siginfo_wait.h | 37 pid_t child, wpid; local in function:ptrace_siginfo 69 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 110 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 115 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_syscall_wait.h | 49 pid_t child, wpid; local in function:syscall_body 88 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 97 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 114 wpid = TWAIT_GENERIC(child, &status, 0), child); 137 wpid = TWAIT_GENERIC(child, &status, 0), child); 160 wpid = TWAIT_GENERIC(child, &status, 0), child); 166 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 203 pid_t child, wpid; local in function:ATF_TC_BODY 225 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 234 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) [all...] |
t_ptrace_exec_wait.h | 33 pid_t child, wpid; local in function:traceme_vfork_exec 78 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 148 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 151 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 180 pid_t child, wpid; local in function:TRACEME_VFORK_EXEC 224 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 294 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 297 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_step_wait.h | 35 pid_t child, wpid; local in function:ptrace_step 88 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 132 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 191 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 196 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_fork.c | 141 pid_t child, parent, watcher, wpid; local in function:raise_raw 181 wpid = waitpid(watcher, &status, 0); 183 ATF_REQUIRE_EQ(wpid, watcher); 199 wpid = waitpid(child, &status, 0); 201 ATF_REQUIRE_EQ(wpid, child); 278 pid_t child, child2, wpid; local in function:nested_raw 312 wpid = waitpid(child2, &status, 0); 313 ASSERT_EQ(child2, wpid); 322 wpid = waitpid(child, &status, 0); 324 ATF_REQUIRE_EQ(wpid, child) [all...] |
t_ptrace_clone_wait.h | 36 pid_t child, child2 = 0, wpid; local in function:clone_body 74 (wpid = TWAIT_GENERIC(child2, &status, WALLSIG), child2); 84 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 110 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 131 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0), 164 wpid = TWAIT_GENERIC(child, &status, 0), child); 187 wpid = TWAIT_GENERIC(child2, &status, 0), child2); 194 wpid = TWAIT_GENERIC(child2, &status, 0)); 200 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 210 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child) 324 pid_t child, child2 = 0, wpid; variable in typeref:typename:pid_t 685 pid_t child, child2 = 0, wpid; variable in typeref:typename:pid_t [all...] |
t_ptrace_core_wait.h | 151 pid_t child, wpid; local in function:ATF_TC_BODY 175 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 230 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 235 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
|
t_ptrace_fork_wait.h | 36 pid_t child, child2 = 0, wpid; local in function:fork_body 79 (wpid = TWAIT_GENERIC(child2, &status, 0), child2); 89 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 132 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 158 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0), 196 wpid = TWAIT_GENERIC(child, &status, 0), child); 220 wpid = TWAIT_GENERIC(child2, &status, 0), child2); 227 wpid = TWAIT_GENERIC(child2, &status, 0)); 233 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 239 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)) 356 pid_t tracee, tracer, wpid; variable in typeref:typename:pid_t 745 pid_t child, child2 = 0, wpid; variable in typeref:typename:pid_t 937 pid_t tracee, tracer, wpid; variable in typeref:typename:pid_t 1220 pid_t child, child2 = 0, wpid; variable in typeref:typename:pid_t 1283 pid_t child, child2 = 0, wpid; local in function:TRACEME_VFORK_FORK_TEST [all...] |
t_ptrace_lwp_wait.h | 65 pid_t child, wpid; local in function:traceme_lwpinfo 132 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 195 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 343 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 348 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 432 pid_t tracee, tracer, wpid; variable in typeref:typename:pid_t 478 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee); 527 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee); 579 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee); 601 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracer, &status, 0) [all...] |
t_ptrace_bytetransfer_wait.h | 60 pid_t child, wpid; local in function:bytes_transfer 280 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 316 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 436 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 441 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 524 pid_t child, wpid; variable in typeref:typename:pid_t 564 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 662 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 666 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 703 pid_t child, wpid; variable in typeref:typename:pid_t [all...] |
t_ptrace_topology_wait.h | 40 pid_t child1, child2, wpid; local in function:ATF_TC_BODY 75 wpid = TWAIT_GENERIC(child1, &status, WEXITED), child1); 102 pid_t tracee, tracer, wpid; local in function:tracer_sees_terminaton_before_the_parent_raw 151 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee); 166 wpid = TWAIT_GENERIC(tracee, &status, 0), tracee); 179 wpid = TWAIT_GENERIC(tracer, &status, 0), tracer); 186 wpid = TWAIT_GENERIC(tracee, NULL, WNOHANG), 0); 205 wpid = TWAIT_GENERIC(tracee, &status, WNOHANG), 0); 218 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracer, &status, 0), 226 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee) 316 pid_t tracee, wpid; local in function:parent_attach_to_its_child 407 pid_t tracer, wpid; local in function:child_attach_to_its_parent 502 pid_t child, wpid; local in function:ATF_TC_BODY 538 pid_t parent, tracee, tracer, wpid; local in function:tracee_sees_its_original_parent [all...] |
t_ptrace_signal_wait.h | 69 pid_t child, wpid; local in function:traceme_raise 102 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 138 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 144 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 179 pid_t child, wpid; local in function:TRACEME_RAISE 212 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 233 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 254 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 259 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 294 pid_t child, wpid; local in function:TRACEME_RAISESIGNAL_IGNORED 385 pid_t child, wpid; local in function:TRACEME_RAISESIGNAL_MASKED 507 pid_t child, wpid; local in function:TRACEME_CRASH 726 pid_t child, wpid; local in function:TRACEME_SIGNALMASKED_CRASH 949 pid_t child, wpid; local in function:TRACEME_SIGNALIGNORED_CRASH 1052 pid_t child, wpid; local in function:TRACEME_SENDSIGNAL_HANDLE 1140 pid_t child, wpid; local in function:TRACEME_SENDSIGNAL_MASKED 1230 pid_t child, wpid; local in function:TRACEME_SENDSIGNAL_IGNORED 1366 pid_t child, parent, watcher, wpid; local in function:TRACEME_SENDSIGNAL_SIMPLE 1525 pid_t child, wpid; local in function:TRACEME_VFORK_RAISE 1606 pid_t child, wpid; local in function:TRACEME_VFORK_CRASH 1692 pid_t child, wpid; local in function:TRACEME_VFORK_SIGNALMASKED_CRASH 1789 pid_t tracee, tracer, wpid; local in function:TRACEME_VFORK_SIGNALIGNORED_CRASH 2176 pid_t child, wpid; local in function:ATF_TC_BODY [all...] |
t_ptrace_threads_wait.h | 52 pid_t child, wpid; local in function:trace_threads 111 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 142 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 180 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 223 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 229 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 272 pid_t child, wpid; local in function:threads_and_exec 305 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 332 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), 366 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0) 460 pid_t child, wpid; local in function:ATF_TC_BODY 547 pid_t child, wpid; local in function:ATF_TC_BODY 753 pid_t child, wpid; local in function:thread_concurrent_test [all...] |
t_ptrace_x86_wait.h | 71 pid_t child, wpid; local in function:ATF_TC_BODY 93 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 109 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 114 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 128 pid_t child, wpid; local in function:dbreg_preserve 163 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 199 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 216 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); 221 TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0)); 381 pid_t child, wpid; local in function:dbregs_trap_variable 1101 pid_t child, wpid; local in function:ATF_TC_BODY 1233 pid_t child, wpid; local in function:ATF_TC_BODY 1365 pid_t child, wpid; local in function:ATF_TC_BODY 1497 pid_t child, wpid; local in function:ATF_TC_BODY 1628 pid_t child, wpid; local in function:dbregs_dont_inherit_lwp 1795 pid_t child, wpid; local in function:dbregs_dont_inherit_execve 2086 pid_t child, wpid; local in function:ATF_TC_BODY 2928 pid_t child, wpid; local in function:x86_register_test [all...] |
/src/tests/kernel/ |
t_proccwd.c | 115 pid_t child, wpid; local in function:ATF_TC_BODY 142 wpid = waitpid(child, &status, WEXITED); 143 ATF_REQUIRE_EQ(wpid, child);
|
/src/sbin/init/ |
init.c | 645 pid_t pid, wpid; local in function:single_user 775 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1) 776 collect_child(wpid, status); 777 if (wpid == -1) { 784 if (wpid == pid && WIFSTOPPED(status)) { 787 wpid = -1; 789 } while (wpid != pid && !requested_transition); 830 pid_t pid, wpid; local in function:runetcrc 880 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1) 881 collect_child(wpid, status) [all...] |