Searched refs:startd_tmpl (Results 1 – 1 of 1) sorted by relevance
544 static int startd_tmpl = -1; /* fd for svc.startd's template */ variable2028 if (startd_tmpl >= 0 && id_eq(cmd.c_id, "smf")) { in boot_init()2109 if (startd_cline[0] != '\0' && startd_tmpl >= 0) { in boot_init()2111 if (startd_run(startd_cline, startd_tmpl, 0) == -1) in boot_init()4122 startd_tmpl = contract_make_template(0, CT_PR_EV_EMPTY, in contracts_init()4125 if (dup2(startd_tmpl, 254) == -1) { in contracts_init()4129 (void) close(startd_tmpl); in contracts_init()4130 startd_tmpl = 254; in contracts_init()4133 (void) fcntl(startd_tmpl, F_SETFD, FD_CLOEXEC); in contracts_init()4135 if (legacy_tmpl < 0 && startd_tmpl < 0) { in contracts_init()[all …]