Searched refs:startd_tmpl (Results 1 – 1 of 1) sorted by relevance
540 static int startd_tmpl = -1; /* fd for svc.startd's template */ variable2066 if (startd_tmpl >= 0 && id_eq(cmd.c_id, "smf")) { in boot_init()2147 if (startd_cline[0] != '\0' && startd_tmpl >= 0) { in boot_init()2149 if (startd_run(startd_cline, startd_tmpl, 0) == -1) in boot_init()4159 startd_tmpl = contract_make_template(0, CT_PR_EV_EMPTY, in contracts_init()4162 if (dup2(startd_tmpl, 254) == -1) { in contracts_init()4166 (void) close(startd_tmpl); in contracts_init()4167 startd_tmpl = 254; in contracts_init()4170 (void) fcntl(startd_tmpl, F_SETFD, FD_CLOEXEC); in contracts_init()4172 if (legacy_tmpl < 0 && startd_tmpl < 0) { in contracts_init()[all …]