Searched refs:tmpl_fd (Results 1 – 1 of 1) sorted by relevance
45 static int tmpl_fd = -1; variable80 if ((tmpl_fd = open64(CT_TEMPLATE, O_RDWR)) == -1) { in solaris_contract_pre_fork()87 __func__, tmpl_fd); in solaris_contract_pre_fork()90 if (ct_pr_tmpl_set_param(tmpl_fd, CT_PR_PGRPONLY) != 0) { in solaris_contract_pre_fork()95 if (ct_pr_tmpl_set_fatal(tmpl_fd, CT_PR_EV_HWERR) != 0) { in solaris_contract_pre_fork()100 if (ct_tmpl_set_critical(tmpl_fd, 0) != 0) { in solaris_contract_pre_fork()105 if (ct_tmpl_set_informative(tmpl_fd, CT_PR_EV_HWERR) != 0) { in solaris_contract_pre_fork()112 if (ct_tmpl_activate(tmpl_fd) != 0) { in solaris_contract_pre_fork()120 if (tmpl_fd != -1) { in solaris_contract_pre_fork()121 close(tmpl_fd); in solaris_contract_pre_fork()[all …]