Lines Matching refs:ctrl
20 int ctrl = pr_get_dexcr(which); in dexcr_prctl_onexec_test_child() local
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()
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()
52 int ctrl; in dexcr_prctl_aspect_test() local
75 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test()
76 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET), "config value not PR_PPC_DEXCR_CTRL_SET"); in dexcr_prctl_aspect_test()
77 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_CLEAR, "config value unexpected clear flag"); in dexcr_prctl_aspect_test()
84 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test()
85 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "config value not PR_PPC_DEXCR_CTRL_CLEAR"); in dexcr_prctl_aspect_test()
86 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_SET, "config value unexpected set flag"); in dexcr_prctl_aspect_test()
93 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test()
94 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "process aspect should still be cleared"); in dexcr_prctl_aspect_test()
95 …FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_SET_ONEXEC… in dexcr_prctl_aspect_test()
96 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC, "config value unexpected clear on exec flag"); in dexcr_prctl_aspect_test()
103 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test()
104 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "process aspect config should still be cleared"); in dexcr_prctl_aspect_test()
105 …FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_CLEAR_ON… in dexcr_prctl_aspect_test()
106 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC, "config value unexpected set on exec flag"); in dexcr_prctl_aspect_test()
113 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test()
114 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET), "config value not PR_PPC_DEXCR_CTRL_SET"); in dexcr_prctl_aspect_test()
115 …FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_CLEAR_ON… in dexcr_prctl_aspect_test()
121 ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test()
122 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "config value not PR_PPC_DEXCR_CTRL_CLEAR"); in dexcr_prctl_aspect_test()
123 …FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_SET_ONEXEC… in dexcr_prctl_aspect_test()
131 unsigned int ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() local
135 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), in dexcr_prctl_aspect_test()
153 unsigned int ctrl = pr_get_dexcr(which); in dexcr_prctl_aspect_test() local
157 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), in dexcr_prctl_aspect_test()