| /freebsd-13.1/tests/sys/kern/ |
| H A D | ptrace_test.c | 153 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 D | pdeathsig.c | 297 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 D | wait.h | 33 # define WSTOPSIG(x) ((&x)->w_stopsig) macro 53 #ifndef WSTOPSIG 54 # define WSTOPSIG(x) WSTOPPED macro
|
| H A D | compat.c | 401 status = WSTOPSIG(reason); /* stopped */ in Compat_RunCommand()
|
| H A D | job.c | 2085 switch (WSTOPSIG(status)) { in JobReapChild() 2096 job->node->name, WSTOPSIG(status)); in JobReapChild()
|
| /freebsd-13.1/tools/test/ptrace/ |
| H A D | scescx.c | 79 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 D | mlock_test.c | 68 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 D | proc_util.c | 71 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 D | t_ptrace_wait.h | 301 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 D | mi.wait.h | 34 #define WSTOPSIG(s) (__HIGH(s) & 0377) /* stop signal */ macro
|
| H A D | sh.proc.c | 58 #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 D | wait.h | 57 #define WSTOPSIG(x) (_W_INT(x) >> 8) macro
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_wait.c | 212 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 D | sanitizer_stoptheworld_linux_libcdep.cpp | 175 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 D | Host.cpp | 223 signal = WSTOPSIG(status); in MonitorChildProcessThreadFunction() 664 return {Stop, uint8_t(WSTOPSIG(wstatus))}; in Decode()
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | exec.c | 369 WSTOPSIG(stat)); in exec_Create()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_siginfo.c | 160 ATF_REQUIRE_EQ(WSTOPSIG(info->si_status), status); in sigchild_action()
|
| /freebsd-13.1/lib/libutil/ |
| H A D | pw_util.c | 330 raise(WSTOPSIG(pstat)); in pw_edit()
|
| /freebsd-13.1/bin/sh/ |
| H A D | jobs.c | 405 i = WSTOPSIG(ps->status); in showjob() 1111 st = WSTOPSIG(status) + 128; in waitforjob()
|
| /freebsd-13.1/usr.bin/truss/ |
| H A D | setup.c | 236 sig = WIFSTOPPED(status) ? WSTOPSIG(status) : 0; in detach_proc()
|
| /freebsd-13.1/usr.bin/gcore/ |
| H A D | elfcore.c | 188 sig = WIFSTOPPED(g_status) ? WSTOPSIG(g_status) : 0; in elf_detach()
|
| /freebsd-13.1/contrib/mandoc/ |
| H A D | main.c | 758 signum = WSTOPSIG(status); in main()
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_misc.c | 965 (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 D | conf.h | 2362 # undef WSTOPSIG
|