/src/tests/lib/libc/sys/ |
t_fork.c | 141 pid_t child, parent, watcher, wpid; local in function:raise_raw 150 * vfork(2) might clobber watcher, this means that it's safer and 161 watcher = fork(); 162 ATF_REQUIRE(watcher != 1); 163 if (watcher == 0) { 165 watcher = fork(); 166 ASSERT_NEQ(watcher, -1); 167 if (watcher != 0) 181 wpid = waitpid(watcher, &status, 0); 183 ATF_REQUIRE_EQ(wpid, watcher); [all...] |
t_fork.c | 141 pid_t child, parent, watcher, wpid; local in function:raise_raw 150 * vfork(2) might clobber watcher, this means that it's safer and 161 watcher = fork(); 162 ATF_REQUIRE(watcher != 1); 163 if (watcher == 0) { 165 watcher = fork(); 166 ASSERT_NEQ(watcher, -1); 167 if (watcher != 0) 181 wpid = waitpid(watcher, &status, 0); 183 ATF_REQUIRE_EQ(wpid, watcher); [all...] |
t_ptrace_signal_wait.h | 1366 pid_t child, parent, watcher, wpid; local in function:TRACEME_SENDSIGNAL_SIMPLE 1393 * vfork(2) might clobber watcher, this means that it's safer and 1399 RL(watcher = fork()); 1400 ATF_REQUIRE(watcher != 1); 1401 if (watcher == 0) { 1403 watcher = fork(); 1404 FORKEE_ASSERT_NEQ(watcher, -1); 1405 if (watcher != 0) 1419 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(watcher, &status, 0), 1420 watcher); [all...] |
t_ptrace_signal_wait.h | 1366 pid_t child, parent, watcher, wpid; local in function:TRACEME_SENDSIGNAL_SIMPLE 1393 * vfork(2) might clobber watcher, this means that it's safer and 1399 RL(watcher = fork()); 1400 ATF_REQUIRE(watcher != 1); 1401 if (watcher == 0) { 1403 watcher = fork(); 1404 FORKEE_ASSERT_NEQ(watcher, -1); 1405 if (watcher != 0) 1419 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(watcher, &status, 0), 1420 watcher); [all...] |