Lines Matching defs:est
760 start_private_repository(engine_state_t *est)
769 if (est->sc_repo_doorname != NULL)
770 free((void *)est->sc_repo_doorname);
772 est->sc_repo_doorname = tempnam(est->sc_repo_doordir, "scfdr");
773 if (est->sc_repo_doorname == NULL)
776 fd = open(est->sc_repo_doorname, O_CREAT | O_EXCL | O_RDWR, 0600);
787 if ((est->sc_repo_pid = fork()) == 0) {
788 (void) execlp(est->sc_repo_server, est->sc_repo_server, "-p",
789 "-d", est->sc_repo_doorname, "-r", est->sc_repo_filename,
791 uu_die(gettext("Could not execute %s"), est->sc_repo_server);
792 } else if (est->sc_repo_pid == -1)
796 pid = waitpid(est->sc_repo_pid, &stat, 0);
814 fd = open(est->sc_repo_doorname, O_RDWR);
817 est->sc_repo_doorname);
826 est->sc_repo_pid = info.di_target;
837 if (est->sc_repo_pid > 0) {
838 (void) kill(est->sc_repo_pid, SIGTERM);
839 (void) waitpid(est->sc_repo_pid, NULL, 0);
840 (void) unlink(est->sc_repo_doorname);
842 est->sc_repo_pid = 0;
873 if (est->sc_repo_filename != NULL)
874 start_private_repository(est);
876 if (est->sc_repo_doorname != NULL) {
884 ret = scf_value_set_astring(repo_value, est->sc_repo_doorname);
929 if (est->sc_repo_filename != NULL) {
930 free((void *)est->sc_repo_filename);
931 est->sc_repo_filename = NULL;
942 est->sc_repo_filename = safe_strdup(repfile);
1601 if (est->sc_repo_filename == NULL &&
1602 est->sc_repo_doorname == NULL &&
1603 est->sc_in_emi == 0) {
1683 if (est->sc_repo_filename != NULL ||
1684 est->sc_repo_doorname != NULL ||
1685 est->sc_in_emi == 1) {
1745 if (est->sc_repo_filename == NULL && est->sc_repo_doorname == NULL)
11420 int flag = (est->sc_cmd_flags & SC_CMD_IACTIVE) ?
14438 (void) engine_source(tempname, est->sc_cmd_flags & SC_CMD_IACTIVE);