Searched refs:masterfd (Results 1 - 2 of 2) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/zoneadmd/
H A Dzcons.c266 int masterfd; local
275 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) != -1) {
279 if (ioctl(masterfd, ZC_RELEASESLAVE,
290 (void) close(masterfd);
337 int masterfd; local
411 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) == -1) {
421 (void) close(masterfd);
424 if (ioctl(masterfd, ZC_HOLDSLAVE, (caddr_t)(intptr_t)slavefd) == 0)
430 (void) close(masterfd);
867 int masterfd; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/zlogin/
H A Dzlogin.c91 static int masterfd; variable
274 masterfd = sockfd;
284 if (write(masterfd, clientid, msglen) != msglen) {
295 while ((err = read(masterfd, &c, 1)) == 1) {
320 masterfd = -1;
333 if ((masterfd = open("/dev/ptmx", O_RDWR|O_NONBLOCK)) < 0) {
365 if (grantpt(masterfd) != 0) {
370 if (unlockpt(masterfd) != 0) {
384 if ((slavename = ptsname(masterfd)) == NULL) {
440 if (zonept(masterfd, zonei
[all...]

Completed in 96 milliseconds