Searched refs:slave (Results 1 - 7 of 7) sorted by relevance
/lxc/src/include/ |
H A D | openpty.c | 41 int master, slave; local 56 slave = open(buf, O_RDWR | O_NOCTTY); 57 if (slave == -1) 62 tcsetattr(slave, TCSAFLUSH, termp); 64 ioctl(slave, TIOCSWINSZ, winp); 67 *aslave = slave;
|
/lxc/src/lxc/ |
H A D | console.c | 300 close(console->peerpty.slave); 302 console->peerpty.slave = -1; 331 ret = openpty(&console->peerpty.master, &console->peerpty.slave, 339 if (lxc_setup_tios(console->peerpty.slave, &oldtermio) < 0) 347 console->peer = console->peerpty.slave; 413 lxc_mainloop_del_handler(console->descr, console->peerpty.slave); 499 close(console->slave); 505 console->slave = -1; 530 ret = openpty(&console->master, &console->slave, console->name, NULL, NULL); 542 if (fcntl(console->slave, F_SETF [all...] |
H A D | conf.h | 175 * @name : the path name of the slave pty side 177 * @slave : the file descriptor of the slave 182 int slave; member in struct:lxc_pty_info 201 * @name : the file name of the slave pty 204 int slave; member in struct:lxc_console
|
H A D | conf.c | 2600 new->console.peerpty.slave = -1; 2602 new->console.slave = -1; 3558 ret = openpty(&pty_info->master, &pty_info->slave, 3569 pty_info->name, pty_info->master, pty_info->slave); 3573 fcntl(pty_info->slave, F_SETFD, FD_CLOEXEC); 3593 close(pty_info->slave); 3788 /* walk /proc/mounts and change any shared entries to slave */ 3946 if (send_fd(sock, pty_info->slave) < 0) 3948 close(pty_info->slave); 3949 pty_info->slave [all...] |
H A D | start.c | 849 if (lxc_console_set_stdfds(handler->conf->console.slave) < 0) 1013 if (recv_fd(sock, &pty_info->slave) < 0 ||
|
H A D | criu.c | 869 os.console_fd = c->lxc_conf->console.slave;
|
/lxc/src/lxc/tools/ |
H A D | lxc_attach.c | 270 if (login_pty(wrap->console->slave) < 0) 330 close(conf->console.slave); /* Close slave side. */
|
Completed in 42 milliseconds