Searched refs:wstatus (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/safesetid/ |
| H A D | safesetid-test.c | 208 int wstatus; in test_setuid() local 224 w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED); in test_setuid() 229 if (WIFEXITED(wstatus)) { in test_setuid() 230 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) { in test_setuid() 243 } else if (WIFSIGNALED(wstatus)) { in test_setuid() 244 if (WTERMSIG(wstatus) == 9) { in test_setuid() 250 die("unexpected signal: %d\n", wstatus); in test_setuid() 253 die("unexpected status: %d\n", wstatus); in test_setuid() 255 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus)); in test_setuid()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | ipv6_flowlabel_mgr.c | 76 int wstatus; in run_tests() local 142 if (wait(&wstatus) == -1) in run_tests() 144 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in run_tests() 159 if (wait(&wstatus) == -1) in run_tests() 161 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in run_tests()
|
| /OK3568_Linux_fs/external/xserver/test/ |
| H A D | simple-xinit.c | 41 int wstatus; in kill_server() local 49 ret = waitpid(server_pid, &wstatus, 0); in kill_server() 127 int wstatus; in start_client() local 129 ret = waitpid(client_pid, &wstatus, 0); in start_client() 136 if (!WIFEXITED(wstatus)) in start_client() 139 return WEXITSTATUS(wstatus); in start_client()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/proc/ |
| H A D | proc-loadavg-001.c | 28 int wstatus; in main() local 77 if (waitpid(pid, &wstatus, 0) == -1) in main() 79 if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) in main()
|
| H A D | proc-pid-vm.c | 229 int wstatus; in vsyscall() local 250 waitpid(pid, &wstatus, 0); in vsyscall() 251 if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) { in vsyscall()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/signal/ |
| H A D | sig_sc_double_restart.c | 144 int wstatus; in test_restart() local 155 if (wait(&wstatus) == -1) { in test_restart() 159 if (!WIFEXITED(wstatus)) { in test_restart() 164 FAIL_IF(WEXITSTATUS(wstatus) != EXIT_SUCCESS); in test_restart()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/vm/ |
| H A D | khugepaged.c | 818 int wstatus; in collapse_fork() local 855 wait(&wstatus); in collapse_fork() 856 exit_status += WEXITSTATUS(wstatus); in collapse_fork() 869 int wstatus; in collapse_fork_compound() local 917 wait(&wstatus); in collapse_fork_compound() 918 exit_status += WEXITSTATUS(wstatus); in collapse_fork_compound() 932 int wstatus; in collapse_max_ptes_shared() local 992 wait(&wstatus); in collapse_max_ptes_shared() 993 exit_status += WEXITSTATUS(wstatus); in collapse_max_ptes_shared()
|
| /OK3568_Linux_fs/buildroot/package/patch/ |
| H A D | 0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch | 142 + int wstatus; 143 + if (waitpid (pid, &wstatus, 0) == -1 144 + || ! WIFEXITED (wstatus) 145 + || WEXITSTATUS (wstatus) != 0)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/ |
| H A D | 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch | 141 + int wstatus; 142 + if (waitpid (pid, &wstatus, 0) == -1 143 + || ! WIFEXITED (wstatus) 144 + || WEXITSTATUS (wstatus) != 0)
|
| /OK3568_Linux_fs/kernel/drivers/usb/class/ |
| H A D | usblp.c | 155 int wstatus; /* bytes written or error */ member 189 dev_dbg(dev, "wstatus=%d\n", usblp->wstatus); in usblp_dump() 346 usblp->wstatus = status; in usblp_bulk_write() 348 usblp->wstatus = urb->actual_length; in usblp_bulk_write() 444 usblp->wstatus = 0; in usblp_open() 780 usblp->wstatus = 0; in usblp_write() 810 if (usblp->wstatus < 0) { in usblp_write() 818 writecount += usblp->wstatus; in usblp_write()
|