Lines Matching refs:exe

150     if (!run->global->exe.persistent) {  in subproc_persistentModeStateMachine()
192 if (run->global->exe.asLimit) { in subproc_PrepareExecv()
194 .rlim_cur = run->global->exe.asLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
195 .rlim_max = run->global->exe.asLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
203 if (run->global->exe.rssLimit) { in subproc_PrepareExecv()
205 .rlim_cur = run->global->exe.rssLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
206 .rlim_max = run->global->exe.rssLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
214 if (run->global->exe.dataLimit) { in subproc_PrepareExecv()
216 .rlim_cur = run->global->exe.dataLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
217 .rlim_max = run->global->exe.dataLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
226 .rlim_cur = run->global->exe.coreLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
227 .rlim_max = run->global->exe.coreLimit * 1024ULL * 1024ULL, in subproc_PrepareExecv()
234 if (run->global->exe.clearEnv) { in subproc_PrepareExecv()
237 for (size_t i = 0; i < ARRAYSIZE(run->global->exe.envs) && run->global->exe.envs[i]; i++) { in subproc_PrepareExecv()
238 putenv(run->global->exe.envs[i]); in subproc_PrepareExecv()
243 if (run->global->exe.netDriver) { in subproc_PrepareExecv()
250 util_closeStdio(/* close_stdin= */ run->global->exe.nullifyStdio, in subproc_PrepareExecv()
251 /* close_stdout= */ run->global->exe.nullifyStdio, in subproc_PrepareExecv()
252 /* close_stderr= */ run->global->exe.nullifyStdio); in subproc_PrepareExecv()
261 if (run->global->exe.persistent && dup2(run->dynamicFileFd, _HF_INPUT_FD) == -1) { in subproc_PrepareExecv()
267 if ((run->global->exe.netDriver || run->global->exe.persistent)) { in subproc_PrepareExecv()
283 if (!run->global->exe.persistent) { in subproc_PrepareExecv()
289 if (run->global->exe.fuzzStdin && dup2(run->dynamicFileCopyFd, STDIN_FILENO) == -1) { in subproc_PrepareExecv()
304 if (run->global->exe.persistent) { in subproc_New()
344 if (run->global->exe.persistent) { in subproc_New()
370 if (run->global->exe.persistent) { in subproc_New()