/external/ltp/testcases/kernel/containers/netns/ |
netns_helper.h | 61 int pid, status; local 73 SAFE_WAIT(NULL, &status);
|
/external/ltp/testcases/kernel/containers/userns/ |
userns_helper.h | 30 int pid, status; local 38 SAFE_WAIT(NULL, &status);
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
cgroup_fj_proc.c | 46 int status; local 73 wait(&status);
|
/external/ltp/testcases/kernel/mem/shmt/ |
shmt07.c | 63 int shmid, pid, status; local 112 while (wait(&status) < 0 && errno == EINTR) ;
|
/external/ltp/testcases/kernel/syscalls/alarm/ |
alarm03.c | 112 int status, retval = 0; local 163 if (wait(&status) == -1) 166 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
|
/external/ltp/testcases/kernel/syscalls/clone/ |
clone01.c | 45 int status, child_pid; local 61 child_pid = wait(&status); 63 tst_brkm(TBROK | TERRNO, cleanup, "wait failed, status: %d", 64 status);
|
/external/ltp/testcases/kernel/syscalls/exit_group/ |
exit_group01.c | 37 int status; local 46 w = wait(&status); 50 if (WIFEXITED(status) && (WEXITSTATUS(status) == 4)) { 54 "exit_group() failed (wait status = %d)", w);
|
/external/ltp/testcases/kernel/syscalls/fork/ |
fork02.c | 57 int pid1, pid2, status; local 77 pid2 = wait(&status); 78 tst_resm(TINFO, "exit status of wait %d", status);
|
/external/ltp/testcases/kernel/syscalls/getpid/ |
getpid02.c | 87 int status; /* exit status of child process */ local 110 if (wait(&status) == -1) 113 if (!WIFEXITED(status) || 114 WEXITSTATUS(status) != 0)
|
/external/ltp/testcases/kernel/syscalls/getppid/ |
getppid02.c | 58 int status; local 84 if (wait(&status) == -1) 87 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
|
/external/ltp/testcases/kernel/syscalls/kill/ |
kill09.c | 134 int status; local 171 waitpid(0, &status, WNOHANG);
|
/external/ltp/testcases/kernel/syscalls/pause/ |
pause02.c | 44 int status; local 85 wait(&status); 87 if (WIFEXITED(status)) { 88 if (WEXITSTATUS(status) == 0) 96 if (WIFSIGNALED(status)) { 97 switch (WTERMSIG(status)) {
|
pause03.c | 44 int status; local 72 SAFE_WAIT(NULL, &status); 74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { 79 if (WIFSIGNALED(status)) { 81 tst_strsig(WTERMSIG(status))); 85 tst_resm(TFAIL, "child exited with %i", WEXITSTATUS(status));
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe02.c | 50 int status; local 88 SAFE_WAIT(&status); 90 if (!WIFSIGNALED(status)) { 93 sig = WTERMSIG(status);
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
ptrace05.c | 59 int status; local 130 waitpid(child, &status, 0); 134 if (WIFEXITED(status) 135 && WEXITSTATUS(status) == 0) { 146 if (WIFSIGNALED(status)) { 148 if (WTERMSIG(status) == SIGKILL) { 157 } else if (WIFEXITED(status)) { 161 } else if (WIFSTOPPED(status)) { 169 if (WIFSTOPPED(status)) { 177 } else if (WIFEXITED(status)) { [all...] |
spawn_ptrace_child.h | 75 int status; local 77 if (wait(&status) != pid) { 78 tst_brkm(TBROK | TERRNO, NULL, "wait(%i) failed: %#x", pid, status); 82 if (!WIFSTOPPED(status)) { 83 tst_brkm(TBROK, NULL, "child status not stopped: %#x", status);
|
/external/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
rt_sigqueueinfo01.c | 73 int status; local 93 wait(&status); 94 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
|
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
sched_getparam02.c | 91 int status; local 140 if ((waitpid(child_pid, &status, 0)) < 0) { 144 if ((WIFEXITED(status)) && (WEXITSTATUS(status) == 0))
|
/external/ltp/testcases/kernel/syscalls/setpgrp/ |
setpgrp01.c | 85 int pid, status; local 101 wait(&status); 102 exit(WEXITSTATUS(status));
|
/external/ltp/testcases/kernel/syscalls/vhangup/ |
vhangup02.c | 63 int status; local 78 waitpid(pid, &status, 0);
|
/external/ltp/testcases/kernel/syscalls/wait/ |
wait02.c | 78 int fork_pid, status, exit_child = 1; local 88 TEST(wait(&status)); 92 } else if (WIFEXITED(status) && WEXITSTATUS(status) == exit_child) { 93 tst_resm(TPASS, "wait(&status) returned %ld", TEST_RETURN); 96 "wait(1) Failed, exit_child - 0x%x, status - 0x%x", 97 exit_child, status);
|
/external/ltp/testcases/kernel/syscalls/wait4/ |
wait401.c | 44 int status = 1; local 65 TEST(wait4(pid, &status, 0, &rusage)); 75 if (WIFEXITED(status) == 0) { 79 "- %d", TCID, WIFEXITED(status));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
11-1.c | 72 int ret, status; local 115 ctl = waitpid(child, &status, 0); 122 if (!WIFEXITED(status)) { 127 if (WEXITSTATUS(status) != PTS_PASS) 128 return WEXITSTATUS(status);
|
12-1.c | 56 int ret, status; local 218 ctl = waitpid(child, &status, 0); 224 if (!WIFEXITED(status) || (WEXITSTATUS(status) != PTS_PASS)) {
|
13-1.c | 61 int ret, status; local 147 ctl = waitpid(child, &status, 0); 153 if (!WIFEXITED(status) || (WEXITSTATUS(status) != PTS_PASS)) {
|