Searched refs:active_tmpl_fd (Results 1 – 1 of 1) sorted by relevance
44 static int active_tmpl_fd = -1; variable90 if ((active_tmpl_fd = create_contract_template()) == -1) { in contract_init()100 if (active_tmpl_fd != -1) { in contract_fini()101 (void) close(active_tmpl_fd); in contract_fini()102 active_tmpl_fd = -1; in contract_fini()116 if ((err = ct_pr_tmpl_set_svc_fmri(active_tmpl_fd, fmri)) != 0) { in contract_prefork()121 if ((err = ct_pr_tmpl_set_svc_aux(active_tmpl_fd, in contract_prefork()128 if ((err = ct_tmpl_activate(active_tmpl_fd)) != 0) { in contract_prefork()146 if ((err = ct_tmpl_clear(active_tmpl_fd)) != 0) in contract_postfork()