Searched refs:active_tmpl_fd (Results 1 – 1 of 1) sorted by relevance
46 static int active_tmpl_fd = -1; variable92 if ((active_tmpl_fd = create_contract_template()) == -1) { in contract_init()102 if (active_tmpl_fd != -1) { in contract_fini()103 (void) close(active_tmpl_fd); in contract_fini()104 active_tmpl_fd = -1; in contract_fini()118 if ((err = ct_pr_tmpl_set_svc_fmri(active_tmpl_fd, fmri)) != 0) { in contract_prefork()123 if ((err = ct_pr_tmpl_set_svc_aux(active_tmpl_fd, in contract_prefork()130 if ((err = ct_tmpl_activate(active_tmpl_fd)) != 0) { in contract_prefork()148 if ((err = ct_tmpl_clear(active_tmpl_fd)) != 0) in contract_postfork()