Searched defs:startd_tmpl (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/init/
H A Dinit.c540 static int startd_tmpl = -1; /* fd for svc.startd's template */ variable
2066 if (startd_tmpl >= 0 && id_eq(cmd.c_id, "smf")) {
2147 if (startd_cline[0] != '\0' && startd_tmpl >= 0) {
2149 if (startd_run(startd_cline, startd_tmpl, 0) == -1)
4159 startd_tmpl = contract_make_template(0, CT_PR_EV_EMPTY,
4162 if (dup2(startd_tmpl, 254) == -1) {
4166 (void) close(startd_tmpl);
4167 startd_tmpl = 254;
4170 (void) fcntl(startd_tmpl, F_SETFD, FD_CLOEXEC);
4172 if (legacy_tmpl < 0 && startd_tmpl <
[all...]

Completed in 54 milliseconds