Lines Matching refs:status
95 int pid, n, status; in start_ptraced_child() local
105 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in start_ptraced_child()
108 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) in start_ptraced_child()
110 status); in start_ptraced_child()
123 int status, n, ret = 0; in stop_ptraced_child() local
129 CATCH_EINTR(n = waitpid(pid, &status, 0)); in stop_ptraced_child()
130 if (!WIFEXITED(status) || (WEXITSTATUS(status) != exitcode)) { in stop_ptraced_child()
131 int exit_with = WEXITSTATUS(status); in stop_ptraced_child()
137 exitcode, status); in stop_ptraced_child()
167 int pid, n, status, count=0; in check_sysemu() local
176 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu()
179 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP)) in check_sysemu()
181 status); in check_sysemu()
216 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu()
220 if (WIFSTOPPED(status) && in check_sysemu()
221 (WSTOPSIG(status) == (SIGTRAP|0x80))) { in check_sysemu()
234 else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP)) in check_sysemu()
239 status); in check_sysemu()
261 int pid, syscall, n, status; in check_ptrace() local
274 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_ptrace()
278 if (!WIFSTOPPED(status) || in check_ptrace()
279 (WSTOPSIG(status) != (SIGTRAP | 0x80))) in check_ptrace()
281 "got status = %d", status); in check_ptrace()