Home
last modified time | relevance | path

Searched refs:WTERMSIG (Results 1 – 23 of 23) sorted by relevance

/xnu-10063.141.1/tests/
H A Dtask_fatal_port.c52 T_EXPECT_EQ(WTERMSIG(status), SIGKILL, "child was sent SIGKILL");
H A Dfreebsd_waitpid_nohang.c63 T_EXPECT_EQ(WTERMSIG(status), SIGTERM, "child was sent SIGTERM");
H A Dpac_exception_entitlement.c148 T_EXPECT_EQ(SIGKILL, WTERMSIG(status), "child terminated due to SIGKILL"); in run_pac_exception_test()
H A Depoch_sync_tests.c101 T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "killed with SIGKILL");
H A Dmemorystatus_vm_map_fork.c432 if (WTERMSIG(child_status) == SIGKILL) { in memorystatus_vm_map_fork_parent()
435 T_SKIP("Child terminated by signal %d test result invalid", WTERMSIG(child_status)); in memorystatus_vm_map_fork_parent()
H A Dsuspended_spawn_26184412.c83 T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "child should have exited due to SIGKILL"); in spawn_and_signal()
H A Dspawn_exec_failure.c114 T_EXPECT_EQ(WTERMSIG(status), SIGKILL, "process was SIGKILLed"); in setup_child_and_wait_for_exit()
H A Dexec-race-58566604.c121 … kill_mode, exec_mode, getpid(), waitedpid, errno, strerror(errno), WTERMSIG(status), killcount); in run_test()
H A Dpfz.c128 T_LOG("Signal number = %d\n", WTERMSIG(status));
H A Dsignal_exit_reason.c106 …T_QUIET; T_EXPECT_EQ(WTERMSIG(status), expected_signal, "process should terminate due to signal %l… in check_exit_reason()
H A Dkqworkloop_limits.c85 T_FAIL("Child exited with signal = %d", WTERMSIG(child_status));
H A Dfd_table_limits.c69 T_FAIL("Child exited with signal = %d", WTERMSIG(child_status));
H A Dstackshot_tests.m640 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "waitpid status should be SIGKILLed");
/xnu-10063.141.1/tests/vm/
H A Dvm_reclaim.c243 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGSEGV, "Test process crashed with segmentation fault.");
532 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
561 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
588 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL."); in vm_reclaim_async_exception()
638 …T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGSEGV, "Forked process crashed with segmentation fault.");
H A Dzalloc.c78 int sig = WTERMSIG(status);
H A Dvm_tainted_executable.c113 T_QUIET; T_ASSERT_TRUE(WTERMSIG(child_status) == SIGKILL, NULL);
H A Dmemorystatus_sort_test.c313 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "proc was killed"); in cleanup_children()
H A Dtest_vm_no_pager_helper.c153 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGBUS) { in fork_and_crash()
H A Dmemorystatus_freeze_test.c1696 T_QUIET; T_ASSERT_EQ(WTERMSIG(stat), SIGKILL, "Child received SIGKILL");
1831 T_QUIET; T_ASSERT_EQ(WTERMSIG(stat), SIGKILL, "Child received SIGKILL");
H A Dvm_allocation.c174 int signal = WTERMSIG(child_status); in child_terminated_normally()
/xnu-10063.141.1/tools/tests/execperf/
H A Drun.c81 errx(1, "process exited with signal %d", WTERMSIG(ret)); in work()
/xnu-10063.141.1/bsd/sys/
H A Dwait.h154 #define WTERMSIG(x) (_WSTATUS(x)) macro
/xnu-10063.141.1/bsd/kern/
H A Dkern_exit.c1744 int signal = WTERMSIG(rv); in proc_should_trigger_panic()
1840 proc_getpid(p), WTERMSIG(rv), WEXITSTATUS(rv)); in proc_handle_critical_exit()
1870 … prefix_str, WTERMSIG(rv), WEXITSTATUS(rv), ((proc_getcsflags(p) & CS_KILLED) ? "CS_KILLED" : "")); in proc_handle_critical_exit()
1915 (hassigprop(WTERMSIG(rv), SA_CORE) || ((proc_getcsflags(p) & CS_KILLED) != 0) || in proc_prepareexit()
1922 if ((SIGSEGV == WTERMSIG(rv)) && in proc_prepareexit()
1932 code = ((WTERMSIG(rv) & 0xff) << 24) | in proc_prepareexit()
3231 siginfo.si_status = WTERMSIG(p->p_xstat); in waitid_nocancel()