Home
last modified time | relevance | path

Searched refs:WIFSTOPPED (Results 1 – 25 of 45) sorted by relevance

12

/freebsd-12-stable/tests/sys/kern/
Dptrace_test.c128 ATF_REQUIRE(WIFSTOPPED(status)); in attach_child()
187 ATF_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
291 CHILD_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
395 CHILD_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
507 ATF_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
572 ATF_REQUIRE(WIFSTOPPED(status)); in handle_fork_events()
631 ATF_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
687 ATF_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
738 ATF_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
1043 CHILD_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY()
[all …]
Dpdeathsig.c296 assert(WIFSTOPPED(status)); in ATF_TC_BODY()
310 assert(WIFSTOPPED(status)); in ATF_TC_BODY()
/freebsd-12-stable/contrib/netbsd-tests/kernel/
Dt_ptrace_wait.h229 ATF_REQUIRE_MSG(!WIFSTOPPED(status), "Reported stopped process"); in validate_status_exited()
242 FORKEE_ASSERTX(!WIFSTOPPED(status)); in forkee_status_exited()
253 ATF_REQUIRE_MSG(!WIFSTOPPED(status), "Reported stopped process"); in validate_status_continued()
262 FORKEE_ASSERTX(!WIFSTOPPED(status)); in forkee_status_continued()
271 ATF_REQUIRE_MSG(!WIFSTOPPED(status), "Reported stopped process"); in validate_status_signaled()
286 FORKEE_ASSERTX(!WIFSTOPPED(status)); in forkee_status_signaled()
298 ATF_REQUIRE_MSG(WIFSTOPPED(status), "Reported !stopped process"); in validate_status_stopped()
314 FORKEE_ASSERTX(WIFSTOPPED(status)); in forkee_status_stopped()
/freebsd-12-stable/crypto/openssh/openbsd-compat/
Dbsd-waitpid.h32 #undef WIFSTOPPED
38 #define WIFSTOPPED(w) ((_W_INT(w)) & 0100) macro
39 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w))
/freebsd-12-stable/contrib/gdb/gdb/
Dlin-lwp.c138 if (WIFSTOPPED (status)) in status_to_str()
325 && WIFSTOPPED (status) && WSTOPSIG (status)); in lin_lwp_attach_lwp()
379 && WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP); in lin_lwp_attach()
396 gdb_assert (lp->status == 0 || WIFSTOPPED (lp->status)); in detach_callback()
427 gdb_assert (lp->status == 0 || WIFSTOPPED (lp->status)); in detach_callback()
659 gdb_assert (WIFSTOPPED (status)); in wait_lwp()
893 if (WIFSTOPPED (lp->status) && sigismember (flush_mask, WSTOPSIG (lp->status))) in flush_callback()
947 && WIFSTOPPED (lp->status) && WSTOPSIG (lp->status) == SIGTRAP) in count_events_callback()
975 && WIFSTOPPED (lp->status) && WSTOPSIG (lp->status) == SIGTRAP) in select_event_lwp_callback()
1003 && WIFSTOPPED (lp->status) && WSTOPSIG (lp->status) == SIGTRAP in cancel_breakpoints_callback()
[all …]
Dgdb_wait.h53 #ifndef WIFSTOPPED
61 #define WIFSTOPPED(w) ((w)&0x40) macro
64 #define WIFSTOPPED(w) (((w)&0377) == 0177) macro
Dlynx-nat.c437 if (WIFSTOPPED (status) in child_wait()
459 else if (WIFSTOPPED (status) in child_wait()
485 else if (!WIFSTOPPED (status)) in child_wait()
/freebsd-12-stable/tools/test/ptrace/
Dscescx.c74 if (WIFSTOPPED(status)) { in decode_wait_status()
236 assert(WIFSTOPPED(status)); in trace_sc()
261 assert(WIFSTOPPED(status)); in trace_sc()
302 assert(WIFSTOPPED(status)); in trace_cont()
386 assert(WIFSTOPPED(status)); in main()
415 assert(WIFSTOPPED(status)); in main()
/freebsd-12-stable/gnu/usr.bin/gdb/gdbserver/
Dfbsd-low.c229 } while (WIFSTOPPED (wstat)); in fbsd_kill_one_process()
371 && (!WIFSTOPPED (*wstatp) in fbsd_wait_for_process()
383 && WIFSTOPPED (*wstatp)) in fbsd_wait_for_process()
456 if (! WIFSTOPPED (wstat)) in fbsd_wait_for_event()
482 if (WIFSTOPPED (wstat) in fbsd_wait_for_event()
496 if (WIFSTOPPED (wstat)) in fbsd_wait_for_event()
511 if (!WIFSTOPPED (wstat) || WSTOPSIG (wstat) != SIGTRAP) in fbsd_wait_for_event()
677 else if (!WIFSTOPPED (w)) in fbsd_wait()
689 if (!WIFSTOPPED (w)) in fbsd_wait()
739 if (WIFSTOPPED (wstat) in wait_for_sigstop()
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
Dt_wait.c212 ATF_REQUIRE(WIFSTOPPED(st) && WSTOPSIG(st) == SIGSTOP); in ATF_TC_BODY()
228 ATF_REQUIRE(!WIFSTOPPED(st)); in ATF_TC_BODY()
242 ATF_REQUIRE(!WIFSTOPPED(st)); in ATF_TC_BODY()
287 ATF_REQUIRE(WIFSTOPPED(st) && WSTOPSIG(st) == SIGSTOP); in ATF_TC_BODY()
299 ATF_REQUIRE(!WIFSTOPPED(st)); in ATF_TC_BODY()
309 ATF_REQUIRE(!WIFSTOPPED(st)); in ATF_TC_BODY()
/freebsd-12-stable/lib/libproc/
Dproc_bkpt.c92 } else if (!WIFSTOPPED(status)) { in proc_stop()
254 if (!WIFSTOPPED(status)) { in proc_bkptexec()
Dproc_create.c162 if (!WIFSTOPPED(status)) in proc_attach()
220 if (!WIFSTOPPED(status)) { in proc_create()
Dproc_util.c168 if (WIFSTOPPED(status)) in proc_wstatus()
/freebsd-12-stable/contrib/tcsh/
Dmi.wait.h33 #define WIFSTOPPED(s) (__LOW(s) == 0177) /* stopped */ macro
Dtc.wait.h149 # define WIFSTOPPED(x) ((x).w_stopval == WSTOPPED) macro
/freebsd-12-stable/bin/sh/
Djobs.c305 if (WIFSTOPPED(ps->status)) { in restartjob()
401 while (!WIFSTOPPED(ps->status) && ps > jp->ps) in showjob()
403 if (WIFSTOPPED(ps->status)) in showjob()
736 if (jp->ps[i].status == -1 || WIFSTOPPED(jp->ps[i].status)) { in killjob()
1104 else if (WIFSTOPPED(status)) in waitforjob()
1209 WIFSTOPPED(sp->status))) { in dowait()
1222 else if (WIFSTOPPED(sp->status)) in dowait()
/freebsd-12-stable/sys/sys/
Dwait.h56 #define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED) macro
/freebsd-12-stable/tests/sys/vm/
Dmlock_test.c67 ATF_REQUIRE(WIFSTOPPED(status)); in test_wired_copy_on_write()
/freebsd-12-stable/release/picobsd/tinyware/passwd/
Dpw_util.c224 else if (WIFSTOPPED(pstat)) in pw_edit()
/freebsd-12-stable/crypto/openssh/
Dsandbox-systrace.c137 if (!WIFSTOPPED(status)) { in ssh_sandbox_parent()
/freebsd-12-stable/contrib/sendmail/include/sm/
Dconf.h717 # undef WIFSTOPPED
2360 # undef WIFSTOPPED
2926 # ifndef WIFSTOPPED
2927 # define WIFSTOPPED(st) (((st) & 0100) == 0) macro
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/
DHost.cpp222 if (WIFSTOPPED(status)) { in MonitorChildProcessThreadFunction()
663 else if (WIFSTOPPED(wstatus)) in Decode()
/freebsd-12-stable/crypto/heimdal/lib/roken/
Dsimple_exec.c118 if(WIFSTOPPED(status)) in wait_for_process_timed()
/freebsd-12-stable/sbin/init/
Dinit.c991 if (wpid == pid && WIFSTOPPED(status)) { in single_user()
1154 if (wpid == pid && WIFSTOPPED(status)) { in run_script()
1957 if (wpid == pid && WIFSTOPPED(status)) { in runshutdown()
/freebsd-12-stable/usr.sbin/ppp/
Dexec.c367 } else if (WIFSTOPPED(stat)) { in exec_Create()

12