Home
last modified time | relevance | path

Searched refs:ptyfd (Results 1 – 7 of 7) sorted by relevance

/external/openssh/
Dsshpty.c64 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) in pty_allocate() argument
70 i = openpty(ptyfd, ttyfd, NULL, NULL, NULL); in pty_allocate()
181 pty_change_window_size(int ptyfd, u_int row, u_int col, in pty_change_window_size() argument
191 (void) ioctl(ptyfd, TIOCSWINSZ, &w); in pty_change_window_size()
Dsession.c632 int fdout, ptyfd, ttyfd, ptymaster; in do_exec_pty() local
637 ptyfd = s->ptyfd; in do_exec_pty()
647 if ((fdout = dup(ptyfd)) < 0) { in do_exec_pty()
650 close(ptyfd); in do_exec_pty()
654 if ((ptymaster = dup(ptyfd)) < 0) { in do_exec_pty()
657 close(ptyfd); in do_exec_pty()
669 close(ptyfd); in do_exec_pty()
681 close(ptyfd); in do_exec_pty()
737 session_set_fds(s, ptyfd, fdout, -1, 1, 1); in do_exec_pty()
739 server_loop(pid, ptyfd, fdout, -1); in do_exec_pty()
[all …]
Dsession.h41 int ptyfd, ttyfd, ptymaster; member
Dmonitor.c1506 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd); in mm_session_close()
1528 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty)); in mm_answer_pty()
1551 if (mm_send_fd(sock, s->ptyfd) == -1 || in mm_answer_pty()
1563 s->ttyfd = s->ptyfd; in mm_answer_pty()
1565 s->ptymaster = s->ptyfd; in mm_answer_pty()
Dmonitor_wrap.c494 mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) in mm_pty_allocate() argument
535 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 || in mm_pty_allocate()
Dconfigure.ac2038 int fd, ptyfd, ttyfd, status;
2052 openpty(&ptyfd, &ttyfd, NULL, NULL, NULL);
Dconfigure19907 int fd, ptyfd, ttyfd, status;
19921 openpty(&ptyfd, &ttyfd, NULL, NULL, NULL);