Searched refs:tmpl_fd (Results 1 – 1 of 1) sorted by relevance
43 static int tmpl_fd = -1; variable78 if ((tmpl_fd = open64(CT_TEMPLATE, O_RDWR)) == -1) { in solaris_contract_pre_fork()85 __func__, tmpl_fd); in solaris_contract_pre_fork()88 if (ct_pr_tmpl_set_param(tmpl_fd, CT_PR_PGRPONLY) != 0) { in solaris_contract_pre_fork()93 if (ct_pr_tmpl_set_fatal(tmpl_fd, CT_PR_EV_HWERR) != 0) { in solaris_contract_pre_fork()98 if (ct_tmpl_set_critical(tmpl_fd, 0) != 0) { in solaris_contract_pre_fork()103 if (ct_tmpl_set_informative(tmpl_fd, CT_PR_EV_HWERR) != 0) { in solaris_contract_pre_fork()110 if (ct_tmpl_activate(tmpl_fd) != 0) { in solaris_contract_pre_fork()118 if (tmpl_fd != -1) { in solaris_contract_pre_fork()119 close(tmpl_fd); in solaris_contract_pre_fork()[all …]