Home
last modified time | relevance | path

Searched refs:contracts_fd (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/ssh/sshd/
H A Dsshd.c335 static int contracts_fd = -1; variable
347 if (contracts_fd == -1) { in contracts_pre_fork()
348 if ((contracts_fd = open64(CTFS_ROOT "/process/template", in contracts_pre_fork()
353 if ((errno = ct_pr_tmpl_set_param(contracts_fd, CT_PR_PGRPONLY))) in contracts_pre_fork()
356 if ((errno = ct_tmpl_set_informative(contracts_fd, CT_PR_EV_HWERR))) in contracts_pre_fork()
359 if ((errno = ct_pr_tmpl_set_fatal(contracts_fd, CT_PR_EV_HWERR))) in contracts_pre_fork()
362 if ((errno = ct_tmpl_set_critical(contracts_fd, 0))) in contracts_pre_fork()
367 if ((errno = ct_tmpl_activate(contracts_fd))) in contracts_pre_fork()
374 if (contracts_fd != -1) in contracts_pre_fork()
375 (void) close(contracts_fd); in contracts_pre_fork()
[all …]