Lines Matching full:exec
14 * Helper function for testing the behaviour of a newly exec-ed process
24 "setting aspect across exec not applied"); in dexcr_prctl_onexec_test_child()
27 "setting aspect across exec not inherited"); 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()
32 "clearing aspect across exec not applied"); in dexcr_prctl_onexec_test_child()
35 "clearing aspect across exec not inherited"); 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()
68 FAIL_IF_MSG(err != -1, "simultaneous set and clear on exec should be rejected"); in dexcr_prctl_aspect_test()
69 …FAIL_IF_MSG(errno_save != EINVAL, "simultaneous set and clear on exec should be rejected with EINV… in dexcr_prctl_aspect_test()
89 /* We make it set on exec (doesn't change our current value) */ 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()
97 …FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "scheduling aspect to set on exec should not change it … in dexcr_prctl_aspect_test()
99 /* We make it clear on exec (doesn't change our current value) */ 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()
109 /* We allow setting the current and on-exec value in a single call */ in dexcr_prctl_aspect_test()
126 /* Verify the onexec value is applied across exec */ in dexcr_prctl_aspect_test()
136 "setting aspect on exec not copied across fork"); in dexcr_prctl_aspect_test()
139 "setting aspect on exec wrongly applied to fork"); in dexcr_prctl_aspect_test()
158 "clearing aspect on exec not copied across fork"); in dexcr_prctl_aspect_test()
161 "clearing aspect on exec wrongly applied to fork"); in dexcr_prctl_aspect_test()
191 * Some tests require checking what happens across exec, so we may be in main()