Home
last modified time | relevance | path

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

/xnu-8796.121.2/tests/vm/
H A Dvm_reclaim.c168 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGSEGV, "Test process crashed with segmentation fault.");
444 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
473 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
501 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
528 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL."); in vm_reclaim_async_exception()
577 …T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGSEGV, "Forked process crashed with segmentation fault.");
H A Dzalloc.c75 int sig = WTERMSIG(status);
H A Dmemorystatus_sort_test.c313 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "proc was killed"); in cleanup_children()
H A Dmemorystatus_freeze_test.c1651 T_QUIET; T_ASSERT_EQ(WTERMSIG(stat), SIGKILL, "Child received SIGKILL");
1783 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-8796.121.2/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 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.c91 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 Dfd_table_limits.c69 T_FAIL("Child exited with signal = %d", WTERMSIG(child_status));
H A Dstackshot_tests.m628 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "waitpid status should be SIGKILLed");
/xnu-8796.121.2/tools/tests/execperf/
H A Drun.c81 errx(1, "process exited with signal %d", WTERMSIG(ret)); in work()
/xnu-8796.121.2/bsd/sys/
H A Dwait.h154 #define WTERMSIG(x) (_WSTATUS(x)) macro
/xnu-8796.121.2/bsd/kern/
H A Dkern_exit.c1704 int signal = WTERMSIG(rv); in proc_should_trigger_panic()
1796 proc_getpid(p), WTERMSIG(rv), WEXITSTATUS(rv)); in proc_handle_critical_exit()
1826 … prefix_str, WTERMSIG(rv), WEXITSTATUS(rv), ((proc_getcsflags(p) & CS_KILLED) ? "CS_KILLED" : "")); in proc_handle_critical_exit()
1864 (hassigprop(WTERMSIG(rv), SA_CORE) || ((proc_getcsflags(p) & CS_KILLED) != 0) || in proc_prepareexit()
1871 if ((SIGSEGV == WTERMSIG(rv)) && in proc_prepareexit()
1881 code = ((WTERMSIG(rv) & 0xff) << 24) | in proc_prepareexit()
3181 siginfo.si_status = WTERMSIG(p->p_xstat); in waitid_nocancel()