Home
last modified time | relevance | path

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

12

/xnu-11417.121.6/tests/
H A Dtask_fatal_port.c53 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.c155 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.c122 … 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 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 Dsignal_exit_reason.c110 …T_QUIET; T_EXPECT_EQ(WTERMSIG(status), expected_signal, "process should terminate due to signal %l… in check_exit_reason()
/xnu-11417.121.6/tools/tests/execperf/
H A Drun.c81 errx(1, "process exited with signal %d", WTERMSIG(ret)); in work()
/xnu-11417.121.6/tests/vm/
H A Dzalloc.c78 int sig = WTERMSIG(status);
H A Dvm_tainted_executable.c115 T_QUIET; T_ASSERT_TRUE(WTERMSIG(child_status) == SIGKILL, NULL);
H A Dmemorystatus_jetsam_zprint_snapshot.c217 T_LOG("child %d killed, status %d", child_pid, WTERMSIG(status)); in run_jzs_test()
H A Dvm_reclaim.c286 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGSEGV, "Test process crashed with segmentation fault.");
676 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
710 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "Test process crashed with SIGKILL.");
H A Dmemorystatus_sort_test.c317 T_QUIET; T_ASSERT_EQ(WTERMSIG(status), SIGKILL, "proc was killed"); in cleanup_children()
H A Dtest_vm_no_pager_helper.c191 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGBUS) { in fork_and_crash()
H A Dmemorystatus_freeze_test.c1786 T_QUIET; T_ASSERT_EQ(WTERMSIG(stat), SIGKILL, "Child received SIGKILL");
1922 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-11417.121.6/bsd/sys/
H A Dwait.h154 #define WTERMSIG(x) (_WSTATUS(x)) macro
/xnu-11417.121.6/tests/skywalk/
H A Dskywalk_mptest_driver.c314 child, childpid, WTERMSIG(child_status), WCOREDUMP(child_status)); in skywalk_mptest_driver_run()
H A Dskywalk_test_driver.c319 …T_LOG("Child signaled with signal %d coredump %d", WTERMSIG(child_status), WCOREDUMP(child_status)… in skywalk_test_driver_run()
/xnu-11417.121.6/bsd/kern/
H A Dkern_exit.c1743 int signal = WTERMSIG(rv); in proc_should_trigger_panic()
1839 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()

12