Searched refs:WIFSIGNALED (Results 1 - 25 of 142) sorted by relevance

123456

/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h33 #undef WIFSIGNALED macro
39 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w)) macro
41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1)
/freebsd-current/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))
/freebsd-current/tests/sys/kern/
H A Dwaitpid_nohang.c60 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilLinux.cpp30 if (WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGINT)
/freebsd-current/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h228 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
241 FORKEE_ASSERTX(!WIFSIGNALED(status));
252 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
261 FORKEE_ASSERTX(!WIFSIGNALED(status));
270 ATF_REQUIRE_MSG(WIFSIGNALED(status), "Reported !signaled process");
285 FORKEE_ASSERTX(WIFSIGNALED(status));
297 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
313 FORKEE_ASSERTX(!WIFSIGNALED(status));
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c99 if (WIFSIGNALED(sta) != 0 || WIFEXITED(sta) == 0)
137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT)
H A Dt_pause.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait.c126 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGTERM);
171 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGSEGV
211 ATF_REQUIRE(!WIFSIGNALED(st));
226 ATF_REQUIRE(!WIFSIGNALED(st));
241 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT);
286 ATF_REQUIRE(!WIFSIGNALED(st));
297 ATF_REQUIRE(!WIFSIGNALED(st));
308 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT);
H A Dt_mkfifo.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
195 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL)
H A Dt_kill.c75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i])
252 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
298 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
/freebsd-current/contrib/netbsd-tests/rump/rumpkern/
H A Dt_signals.c112 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT);
H A Dt_kern.c75 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT);
/freebsd-current/tools/test/stress2/misc/
H A Dexlock2.sh187 if (WIFSIGNALED(status))
197 if (WIFSIGNALED(status))
H A Dmmap32.sh180 if (WIFSIGNALED(status))
192 if (WIFSIGNALED(status))
H A Dpause.sh149 if (WIFSIGNALED(status))
H A Dgetrandom2.sh179 if (WIFSIGNALED(status))
H A Dr335171.sh148 if (WIFSIGNALED(status))
H A Dkevent15.sh152 if (WIFSIGNALED(status) && WTERMSIG(status) != 2)
/freebsd-current/contrib/kyua/utils/process/
H A Doperations_test.cpp298 ATF_REQUIRE(WIFSIGNALED(status));
319 ATF_REQUIRE(WIFSIGNALED(status));
354 ATF_REQUIRE(WIFSIGNALED(status));
375 ATF_REQUIRE(WIFSIGNALED(status));
H A Dstatus.cpp57 _signaled(WIFSIGNALED(stat_loc) ?
/freebsd-current/tools/test/ptrace/
H A Dscescx.c62 if (WIFSIGNALED(status)) {
234 if (WIFEXITED(status) || WIFSIGNALED(status)) {
259 if (WIFEXITED(status) || WIFSIGNALED(status)) {
318 if (WIFEXITED(status) || WIFSIGNALED(status)) {
/freebsd-current/sys/sys/
H A Dwait.h55 #define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0 && (x) != 0x13) macro
/freebsd-current/usr.bin/diff/
H A Dpr.c119 else if (WIFSIGNALED(wstatus))
/freebsd-current/contrib/netbsd-tests/dev/sysmon/
H A Dt_swwdog.c164 ATF_REQUIRE(WIFSIGNALED(status));

Completed in 282 milliseconds

123456