Searched refs:ctfd (Results 1 - 6 of 6) sorted by relevance
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 138 int ctfd, err; local 144 if ((ctfd = open64(CTFS_ROOT "/process/template", O_RDWR)) == -1) { 150 err = ct_tmpl_set_critical(ctfd, crit); 151 err |= ct_pr_tmpl_set_fatal(ctfd, fatal); 152 err |= ct_tmpl_set_informative(ctfd, inf); 153 err |= ct_pr_tmpl_set_param(ctfd, param); 154 err |= ct_tmpl_set_cookie(ctfd, cookie); 155 err |= ct_pr_tmpl_set_svc_fmri(ctfd, svc_fmri); 156 err |= ct_pr_tmpl_set_svc_aux(ctfd, name); 158 (void) close(ctfd); [all...] |
H A D | method.c | 614 int ctfd = -1; local 700 if ((ctfd = contract_open(inst->ri_i.i_primary_ctid, "process", 994 if (ctfd >= 0) 995 (void) close(ctfd);
|
/opensolaris-onvv-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);
|
/opensolaris-onvv-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...] |
/opensolaris-onvv-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 1696 int ctfd; local 1900 if ((ctfd = init_template()) == -1) { 1916 (void) ct_tmpl_clear(ctfd); 1917 (void) close(ctfd);
|
Completed in 131 milliseconds