Home
last modified time | relevance | path

Searched refs:WIFSIGNALED (Results 1 – 25 of 144) sorted by relevance

123456

/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h33 #undef WIFSIGNALED
39 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w)) macro
41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1)
/freebsd-14.2/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h228 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process"); in validate_status_exited()
241 FORKEE_ASSERTX(!WIFSIGNALED(status)); in forkee_status_exited()
252 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process"); in validate_status_continued()
261 FORKEE_ASSERTX(!WIFSIGNALED(status)); in forkee_status_continued()
270 ATF_REQUIRE_MSG(WIFSIGNALED(status), "Reported !signaled process"); in validate_status_signaled()
285 FORKEE_ASSERTX(WIFSIGNALED(status)); in forkee_status_signaled()
297 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process"); in validate_status_stopped()
313 FORKEE_ASSERTX(!WIFSIGNALED(status)); in forkee_status_stopped()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait.c126 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGTERM); in ATF_TC_BODY()
171 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGSEGV in ATF_TC_BODY()
211 ATF_REQUIRE(!WIFSIGNALED(st)); in ATF_TC_BODY()
226 ATF_REQUIRE(!WIFSIGNALED(st)); in ATF_TC_BODY()
241 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT); in ATF_TC_BODY()
286 ATF_REQUIRE(!WIFSIGNALED(st)); in ATF_TC_BODY()
297 ATF_REQUIRE(!WIFSIGNALED(st)); in ATF_TC_BODY()
308 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT); in ATF_TC_BODY()
H A Dt_kill.c75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i]) in ATF_TC_BODY()
252 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
298 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
H A Dt_mkfifo.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
195 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY()
H A Dt_msgsnd.c114 if (WIFEXITED(sta) != 0 || WIFSIGNALED(sta) == 0) in ATF_TC_BODY()
270 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY()
H A Dt_msgrcv.c139 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY()
280 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c99 if (WIFSIGNALED(sta) != 0 || WIFEXITED(sta) == 0) in ATF_TC_BODY()
137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT) in ATF_TC_BODY()
H A Dt_pause.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
/freebsd-14.2/tools/test/ptrace/
H A Dscescx.c63 if (WIFSIGNALED(status)) { in decode_wait_status()
235 if (WIFEXITED(status) || WIFSIGNALED(status)) { in trace_sc()
260 if (WIFEXITED(status) || WIFSIGNALED(status)) { in trace_sc()
319 if (WIFEXITED(status) || WIFSIGNALED(status)) { in trace_cont()
/freebsd-14.2/contrib/kyua/utils/process/
H A Doperations_test.cpp298 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
319 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
354 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
375 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
H A Dstatus.cpp57 _signaled(WIFSIGNALED(stat_loc) ? in status()
/freebsd-14.2/tools/test/stress2/misc/
H A Dmmap32.sh181 if (WIFSIGNALED(status))
193 if (WIFSIGNALED(status))
H A Dexlock2.sh192 if (WIFSIGNALED(status))
202 if (WIFSIGNALED(status))
H A Dfreepages.sh121 if (WIFSIGNALED(status))
/freebsd-14.2/tests/sys/kern/
H A Dreaper.c475 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
629 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
635 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
709 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR1); in ATF_TC_BODY()
716 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR1); in ATF_TC_BODY()
729 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR2); in ATF_TC_BODY()
736 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR2); in ATF_TC_BODY()
H A Dwaitpid_nohang.c60 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
/freebsd-14.2/contrib/tcsh/
H A Dmi.wait.h32 #define WIFSIGNALED(s) ((((unsigned int)(s)-1) & 0xFFFF) < 0xFF) /* signaled */ macro
H A Dtc.wait.h150 # define WIFSIGNALED(x) (((x).w_stopval != WSTOPPED) && ((x).w_termsig != 0)) macro
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilLinux.cpp30 if (WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGINT) in ExecuteCommand()
/freebsd-14.2/contrib/netbsd-tests/rump/rumpkern/
H A Dt_signals.c112 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT); in ATF_TC_BODY()
H A Dt_kern.c75 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT); in locktest()
/freebsd-14.2/sys/sys/
H A Dwait.h57 #define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0 && (x) != 0x13) macro
/freebsd-14.2/usr.bin/diff/
H A Dpr.c120 else if (WIFSIGNALED(wstatus)) in stop_pr()
/freebsd-14.2/contrib/netbsd-tests/dev/sysmon/
H A Dt_swwdog.c164 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TC_BODY()

123456