Home
last modified time | relevance | path

Searched refs:WSTOPSIG (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/tests/sys/kern/
H A Dptrace_test.c153 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in attach_child()
212 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
661 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
717 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
768 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
1131 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
1194 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
1272 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY()
2182 if (WSTOPSIG(status) == SIGTRAP) { in ATF_TC_BODY()
2667 REQUIRE_EQ(WSTOPSIG(status), SIGINT); in ATF_TC_BODY()
[all …]
H A Dpdeathsig.c297 assert(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY()
311 assert(WSTOPSIG(status) == SIGINFO); in ATF_TC_BODY()
314 WSTOPSIG(status)); in ATF_TC_BODY()
/freebsd-13.1/contrib/bmake/
H A Dwait.h33 # define WSTOPSIG(x) ((&x)->w_stopsig) macro
53 #ifndef WSTOPSIG
54 # define WSTOPSIG(x) WSTOPPED macro
H A Dcompat.c401 status = WSTOPSIG(reason); /* stopped */ in Compat_RunCommand()
H A Djob.c2085 switch (WSTOPSIG(status)) { in JobReapChild()
2096 job->node->name, WSTOPSIG(status)); in JobReapChild()
/freebsd-13.1/tools/test/ptrace/
H A Dscescx.c79 snprintf(b, sizeof(b), "SIG(%s)", strsignal(WSTOPSIG(status))); in decode_wait_status()
237 assert(WSTOPSIG(status) == SIGTRAP); in trace_sc()
262 assert(WSTOPSIG(status) == SIGTRAP); in trace_sc()
303 assert(WSTOPSIG(status) == SIGTRAP); in trace_cont()
387 assert(WSTOPSIG(status) == SIGSTOP); in main()
416 assert(WSTOPSIG(status) == SIGSTOP); in main()
/freebsd-13.1/tests/sys/vm/
H A Dmlock_test.c68 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in test_wired_copy_on_write()
78 "child exited with status %d", WSTOPSIG(status)); in test_wired_copy_on_write()
/freebsd-13.1/lib/libproc/
H A Dproc_util.c71 if (phdl->status == PS_STOP && WSTOPSIG(phdl->wstat) != SIGTRAP) in proc_continue()
72 pending = WSTOPSIG(phdl->wstat); in proc_continue()
/freebsd-13.1/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h301 strlcpy(st, strsignal(WSTOPSIG(status)), sizeof(st)); in validate_status_stopped()
304 ATF_REQUIRE_EQ_MSG(WSTOPSIG(status), expected, in validate_status_stopped()
316 FORKEE_ASSERT_EQ(WSTOPSIG(status), expected); in forkee_status_stopped()
/freebsd-13.1/contrib/tcsh/
H A Dmi.wait.h34 #define WSTOPSIG(s) (__HIGH(s) & 0377) /* stop signal */ macro
H A Dsh.proc.c58 #ifndef WSTOPSIG
59 # define WSTOPSIG(w) (((union wait *) &(w))->w_stopsig) macro
288 pp->p_reason = WSTOPSIG(w); in pchild()
/freebsd-13.1/sys/sys/
H A Dwait.h57 #define WSTOPSIG(x) (_W_INT(x) >> 8) macro
/freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait.c212 ATF_REQUIRE(WIFSTOPPED(st) && WSTOPSIG(st) == SIGSTOP); in ATF_TC_BODY()
287 ATF_REQUIRE(WIFSTOPPED(st) && WSTOPSIG(st) == SIGSTOP); in ATF_TC_BODY()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_linux_libcdep.cpp175 if (WIFSTOPPED(status) && WSTOPSIG(status) != SIGSTOP) { in SuspendThread()
177 (void*)(uptr)WSTOPSIG(status)); in SuspendThread()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A DHost.cpp223 signal = WSTOPSIG(status); in MonitorChildProcessThreadFunction()
664 return {Stop, uint8_t(WSTOPSIG(wstatus))}; in Decode()
/freebsd-13.1/usr.sbin/ppp/
H A Dexec.c369 WSTOPSIG(stat)); in exec_Create()
/freebsd-13.1/contrib/netbsd-tests/lib/libc/gen/
H A Dt_siginfo.c160 ATF_REQUIRE_EQ(WSTOPSIG(info->si_status), status); in sigchild_action()
/freebsd-13.1/lib/libutil/
H A Dpw_util.c330 raise(WSTOPSIG(pstat)); in pw_edit()
/freebsd-13.1/bin/sh/
H A Djobs.c405 i = WSTOPSIG(ps->status); in showjob()
1111 st = WSTOPSIG(status) + 128; in waitforjob()
/freebsd-13.1/usr.bin/truss/
H A Dsetup.c236 sig = WIFSTOPPED(status) ? WSTOPSIG(status) : 0; in detach_proc()
/freebsd-13.1/usr.bin/gcore/
H A Delfcore.c188 sig = WIFSTOPPED(g_status) ? WSTOPSIG(g_status) : 0; in elf_detach()
/freebsd-13.1/contrib/mandoc/
H A Dmain.c758 signum = WSTOPSIG(status); in main()
/freebsd-13.1/sys/compat/linux/
H A Dlinux_misc.c965 (bsd_to_linux_signal(WSTOPSIG(tmpstat)) << 8); in linux_common_wait()
967 if (WSTOPSIG(status) == SIGTRAP) { in linux_common_wait()
/freebsd-13.1/contrib/sendmail/include/sm/
H A Dconf.h2362 # undef WSTOPSIG