| /freebsd-14.2/tests/sys/kern/ |
| H A D | ptrace_test.c | 144 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in attach_child() 203 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 652 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 708 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 759 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 1122 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 1185 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 1263 REQUIRE_EQ(WSTOPSIG(status), SIGSTOP); in ATF_TC_BODY() 2173 if (WSTOPSIG(status) == SIGTRAP) { in ATF_TC_BODY() 2658 REQUIRE_EQ(WSTOPSIG(status), SIGINT); in ATF_TC_BODY() [all …]
|
| H A D | pdeathsig.c | 295 assert(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY() 309 assert(WSTOPSIG(status) == SIGINFO); in ATF_TC_BODY() 312 WSTOPSIG(status)); in ATF_TC_BODY()
|
| /freebsd-14.2/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 | 398 status = WSTOPSIG(reason); /* stopped */ in Compat_RunCommand()
|
| H A D | job.c | 2072 switch (WSTOPSIG(status)) { in JobReapChild() 2083 job->node->name, WSTOPSIG(status)); in JobReapChild()
|
| /freebsd-14.2/tools/test/ptrace/ |
| H A D | scescx.c | 78 snprintf(b, sizeof(b), "SIG(%s)", strsignal(WSTOPSIG(status))); in decode_wait_status() 240 assert(WSTOPSIG(status) == SIGTRAP); in trace_sc() 265 assert(WSTOPSIG(status) == SIGTRAP); in trace_sc() 324 assert(WSTOPSIG(status) == SIGTRAP); in trace_cont() 411 assert(WSTOPSIG(status) == SIGSTOP); in main() 440 assert(WSTOPSIG(status) == SIGSTOP); in main()
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | ptrace9.sh | 90 if (!WIFSTOPPED(status) || WSTOPSIG(status) != SIGSTOP) 102 printf("stopping signal is %d\n", WSTOPSIG(status));
|
| H A D | ptrace10.sh | 136 WSTOPSIG(status));
|
| H A D | laundry.sh | 163 WSTOPSIG(status));
|
| /freebsd-14.2/lib/libproc/ |
| H A D | proc_util.c | 69 if (phdl->status == PS_STOP && WSTOPSIG(phdl->wstat) != SIGTRAP) in proc_continue() 70 pending = WSTOPSIG(phdl->wstat); in proc_continue()
|
| /freebsd-14.2/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-14.2/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-14.2/tests/sys/vm/ |
| H A D | mlock_test.c | 70 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in test_wired_copy_on_write() 80 "child exited with status %d", WSTOPSIG(status)); in test_wired_copy_on_write()
|
| /freebsd-14.2/sys/sys/ |
| H A D | wait.h | 56 #define WSTOPSIG(x) (_W_INT(x) >> 8) macro
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 176 if (WIFSTOPPED(status) && WSTOPSIG(status) != SIGSTOP) { in SuspendThread() 178 (void*)(uptr)WSTOPSIG(status)); in SuspendThread()
|
| /freebsd-14.2/usr.sbin/ppp/ |
| H A D | exec.c | 367 WSTOPSIG(stat)); in exec_Create()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | Host.cpp | 570 return {Stop, uint8_t(WSTOPSIG(wstatus))}; in Decode()
|
| /freebsd-14.2/lib/libutil/ |
| H A D | pw_util.c | 329 raise(WSTOPSIG(pstat)); in pw_edit()
|
| /freebsd-14.2/bin/sh/ |
| H A D | jobs.c | 403 i = WSTOPSIG(ps->status); in showjob() 1111 st = WSTOPSIG(status) + 128; in waitforjob()
|
| /freebsd-14.2/usr.bin/truss/ |
| H A D | setup.c | 216 sig = WIFSTOPPED(status) ? WSTOPSIG(status) : 0; in detach_proc()
|
| /freebsd-14.2/usr.bin/gcore/ |
| H A D | elfcore.c | 165 sig = WIFSTOPPED(g_status) ? WSTOPSIG(g_status) : 0; in elf_detach()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_misc.c | 735 (bsd_to_linux_signal(WSTOPSIG(tmpstat)) << 8); in linux_common_wait() 737 if (WSTOPSIG(status) == SIGTRAP) { in linux_common_wait()
|