Searched defs:ctfd (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 125 int ctfd; local 150 if ((ctfd = init_template()) == -1) 155 (void) ct_tmpl_clear(ctfd); 156 (void) close(ctfd);
|
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 240 get_event(int fd, int ctfd, ctid_t ctid) argument 301 (void) ct_ctl_ack(ctfd, evid); 316 abandon(int ctfd) argument 318 if (ct_ctl_abandon(ctfd) == -1) 319 uu_die(gettext("failed to abandon contract %d"), ctfd); 321 (void) close(ctfd); 380 int ctfd; local 557 if ((ctfd = contract_open(opt_adopt, "process", "ctl", 576 if (errno = ct_ctl_adopt(ctfd)) 641 if ((ctfd [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 675 int ctfd = -1; local 761 if ((ctfd = contract_open(inst->ri_i.i_primary_ctid, "process", 1083 if (ctfd >= 0) 1084 (void) close(ctfd);
|
H A D | fork.c | 145 int ctfd, err; local 151 if ((ctfd = open64(CTFS_ROOT "/process/template", O_RDWR)) == -1) { 157 err = ct_tmpl_set_critical(ctfd, crit); 158 err |= ct_pr_tmpl_set_fatal(ctfd, fatal); 159 err |= ct_tmpl_set_informative(ctfd, inf); 160 err |= ct_pr_tmpl_set_param(ctfd, param); 161 err |= ct_tmpl_set_cookie(ctfd, cookie); 162 err |= ct_pr_tmpl_set_svc_fmri(ctfd, svc_fmri); 163 err |= ct_pr_tmpl_set_svc_aux(ctfd, name); 165 (void) close(ctfd); [all...] |
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 196 int ctfd; local 216 ctfd = open64("/system/contract/process/template", O_RDWR); 217 if (ctfd == -1) 219 if ((err = ct_tmpl_set_critical(ctfd, 0)) != 0 || 220 (err = ct_tmpl_set_informative(ctfd, 0)) != 0 || 221 (err = ct_pr_tmpl_set_fatal(ctfd, CT_PR_EV_HWERR)) != 0 || 222 (err = ct_pr_tmpl_set_param(ctfd, CT_PR_PGRPONLY)) != 0 || 223 (err = ct_tmpl_activate(ctfd)) != 0) { 224 (void) close(ctfd); 230 (void) ct_tmpl_clear(ctfd); [all...] |
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 1851 int ctfd; local 2062 if ((ctfd = init_template()) == -1) { 2078 (void) ct_tmpl_clear(ctfd); 2079 (void) close(ctfd);
|
Completed in 117 milliseconds