Searched refs:FAIL_IF_EXIT_MSG (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/selftests/powerpc/dexcr/ |
D | dexcr_test.c | 23 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET), in dexcr_prctl_onexec_test_child() 26 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), in dexcr_prctl_onexec_test_child() 29 FAIL_IF_EXIT_MSG(!(aspect & dexcr), "setting aspect across exec did not take effect"); in dexcr_prctl_onexec_test_child() 31 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), in dexcr_prctl_onexec_test_child() 34 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), in dexcr_prctl_onexec_test_child() 37 FAIL_IF_EXIT_MSG(aspect & dexcr, "clearing aspect across exec did not take effect"); in dexcr_prctl_onexec_test_child() 39 FAIL_IF_EXIT_MSG(true, "unknown expected status"); in dexcr_prctl_onexec_test_child() 135 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), in dexcr_prctl_aspect_test() 138 FAIL_IF_EXIT_MSG(mfspr(SPRN_DEXCR_RO) & aspect, in dexcr_prctl_aspect_test() 157 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), in dexcr_prctl_aspect_test() [all …]
|
D | dexcr.c | 59 FAIL_IF_EXIT_MSG(true, "unknown PR aspect"); in pr_which_to_aspect() 118 FAIL_IF_EXIT_MSG(true, "bad enum dexcr_source"); in get_dexcr() 126 FAIL_IF_EXIT_MSG(pid == -1, "fork failed"); in await_child_success() 127 FAIL_IF_EXIT_MSG(waitpid(pid, &wstatus, 0) == -1, "wait failed"); in await_child_success() 128 FAIL_IF_EXIT_MSG(!WIFEXITED(wstatus), "child did not exit cleanly"); in await_child_success() 129 FAIL_IF_EXIT_MSG(WEXITSTATUS(wstatus) != 0, "child exit error"); in await_child_success()
|
D | hashchk_test.c | 148 FAIL_IF_EXIT_MSG(hash_values[HASH_COUNT] != (unsigned long)&hash_values, in hashchk_exec_random_key_test()
|
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 200 FAIL_IF_EXIT_MSG(ptrace_traceme(), "PTRACE_TRACEME failed"); in ptrace_fork_child() 201 FAIL_IF_EXIT_MSG(raise(SIGSTOP), "Child failed to raise SIGSTOP"); in ptrace_fork_child()
|
/linux-6.12.1/tools/testing/selftests/powerpc/ |
D | utils.c | 630 FAIL_IF_EXIT_MSG(sigaction(sig, &sa, &old_handler), in push_signal_handler() 640 FAIL_IF_EXIT_MSG(sigaction(sig, &old_handler, &popped), in pop_signal_handler()
|
/linux-6.12.1/tools/testing/selftests/powerpc/include/ |
D | utils.h | 147 #define FAIL_IF_EXIT_MSG(x, msg) \ macro
|