Lines Matching defs:status
109 int n, status, err;
112 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL));
113 if ((n < 0) || !WIFSTOPPED(status))
116 if (((1 << WSTOPSIG(status)) & STUB_SIG_MASK) == 0)
127 if (((1 << WSTOPSIG(status)) & STUB_DONE_MASK) != 0)
135 printk(UM_KERN_ERR "%s : failed to wait for SIGTRAP, pid = %d, n = %d, errno = %d, status = 0x%x\n",
136 __func__, pid, n, errno, status);
187 int err, status;
209 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL));
210 if ((err < 0) || !WIFSTOPPED(status) ||
211 (WSTOPSIG(status) != SIGTRAP + 0x80)) {
216 printk(UM_KERN_ERR "%s - failed to wait at end of syscall, errno = %d, status = %d\n",
217 __func__, errno, status);
314 int pid, status, n, flags, err;
342 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL));
349 } while (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGALRM));
351 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) {
353 printk(UM_KERN_ERR "%s : expected SIGSTOP, got status = %d\n",
354 __func__, status);
382 int err, status, op, pid = userspace_pid[0];
426 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL));
448 if (WIFSTOPPED(status)) {
449 int sig = WSTOPSIG(status);