Lines Matching defs:exec
93 char *exec;
568 free(iconf->exec);
611 /* Combine args and server name to construct exec and args fields */
613 iconf->exec = safe_strdup(iconf->server_program);
620 iconf->exec = safe_malloc(len);
621 (void) strlcpy(iconf->exec, iconf->server_program, len);
625 if ((endp = strrchr(iconf->exec, '/')) == NULL)
626 endp = iconf->exec;
633 (void) strlcat(iconf->exec, " ", len);
634 (void) strlcat(iconf->exec, cp, len);
738 iconf->exec, PR_USER_NAME, iconf->username, iconf->groupname) < 0)
957 (void) fprintf(stderr, gettext("\n%s: exec of %s failed: %s"),
1307 * then we have a match; update the exec and arg0 properties if
1315 /* Can't update exec on internal services */
1317 (strcmp(iconf->exec, prog) != 0)) {
1323 svc_name, PR_EXEC_NAME, iconf->exec);
1332 /* Update instance's exec property */
1334 PR_EXEC_NAME, iconf->exec) != 1)
1343 iconf->exec);