Lines Matching defs:argv0
412 static apr_status_t get_req(int fd, request_rec *r, char **argv0, char ***env,
442 /* Read the filename, argv0, uri, and args */
444 *argv0 = apr_pcalloc(r->pool, req->argv0_len + 1);
447 (stat = sock_read(fd, *argv0, req->argv0_len)) != APR_SUCCESS ||
482 static apr_status_t send_req(int fd, request_rec *r, char *argv0, char **env,
505 req.argv0_len = strlen(argv0);
515 argv0, req.argv0_len,
522 argv0, req.argv0_len,
673 char *argv0 = NULL;
712 stat = get_req(sd2, r, &argv0, &env, &cgid_req);
805 argv = (const char * const *)create_argv(r->pool, NULL, NULL, NULL, argv0, r->args);
820 rc = ap_os_create_privileged_process(r, procnew, argv0, argv,
824 rc = apr_proc_create(procnew, argv0, argv,
1395 char *argv0, *dbuf;
1418 if ((argv0 = strrchr(r->filename, '/')) != NULL) {
1419 argv0++;
1422 argv0 = r->filename;
1425 nph = !(strncmp(argv0, "nph-", 4));
1427 argv0 = r->filename;
1475 rv = send_req(sd, r, argv0, env, CGI_REQ);