Searched refs:contract_open (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.h40 extern int contract_open(ctid_t, const char *, const char *, int);
H A Dlibcontract_priv.c84 contract_open(ctid_t ctid, const char *type, const char *file, int oflag) function
117 fd = contract_open(ctid, "all", "ctl", O_WRONLY);
H A Ddevice_dump.c60 statfd = contract_open(ctid, "device", "status", O_RDONLY);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dcontract.c110 if ((csfd = contract_open(ctid, "process", "status", O_RDONLY)) < 0) {
158 if ((ccfd = contract_open(ctids[n], "process", "ctl",
166 if ((csfd = contract_open(ctids[n], "process", "status",
219 fd = contract_open(ctid, "process", "status", O_RDONLY);
H A Dfork.c552 sfd = contract_open(ctid, "process", "status", O_RDONLY);
599 efd = contract_open(ctid, "process", "ctl", O_WRONLY);
H A Drestarter.c260 fd = contract_open(*ctidp, NULL, "status", O_RDONLY);
2249 if ((sfd = contract_open(ctid, "process", "status", O_RDONLY))
2333 efd = contract_open(ct_event_get_ctid(ev), "process", "ctl",
H A Dmethod.c761 if ((ctfd = contract_open(inst->ri_i.i_primary_ctid, "process",
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dcontracts.c173 return (contract_open(cid, "process", "ctl", O_WRONLY));
/illumos-gate/usr/src/cmd/ctrun/
H A Dctrun.c283 efd = contract_open(ct_event_get_ctid(ev), "process", "ctl",
557 if ((ctfd = contract_open(opt_adopt, "process", "ctl",
566 if (((stfd = contract_open(opt_adopt, "process", "status",
641 if ((ctfd = contract_open(ctid, "process", "ctl",
/illumos-gate/usr/src/cmd/ctwatch/
H A Dctwatch.c198 if ((fd = contract_open(id, NULL, "status", O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c415 if ((fd = contract_open(ctid, "process", "status", O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c533 if ((fd = contract_open(id, dir, "status", O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c476 fd = contract_open(ct, "process", "status", O_RDONLY);
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c698 contract_open(ctid_t ctid, const char *type, const char *file, int oflag) function
729 fd = contract_open(ctid, "all", "ctl", O_WRONLY);
/illumos-gate/usr/src/cmd/init/
H A Dinit.c4218 fd = contract_open(id, "process", name, oflag);
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c588 fd = contract_open(c, NULL, "status", O_RDONLY);

Completed in 92 milliseconds