Home
last modified time | relevance | path

Searched refs:ptyfd (Results 1 – 6 of 6) 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()
151 pty_change_window_size(int ptyfd, u_int row, u_int col, in pty_change_window_size() argument
161 (void) ioctl(ptyfd, TIOCSWINSZ, &w); in pty_change_window_size()
Dsession.c565 int fdout, ptyfd, ttyfd, ptymaster; in do_exec_pty() local
570 ptyfd = s->ptyfd; in do_exec_pty()
580 if ((fdout = dup(ptyfd)) == -1) { in do_exec_pty()
583 close(ptyfd); in do_exec_pty()
587 if ((ptymaster = dup(ptyfd)) == -1) { in do_exec_pty()
590 close(ptyfd); in do_exec_pty()
602 close(ptyfd); in do_exec_pty()
611 close(ptyfd); in do_exec_pty()
654 session_set_fds(ssh, s, ptyfd, fdout, -1, 1, 1); in do_exec_pty()
1735 sessions[id].ptyfd = -1; in session_unused()
[all …]
Dsession.h42 int ptyfd, ttyfd, ptymaster; member
Dmonitor.c1521 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd); in mm_session_close()
1543 res = pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty)); in mm_answer_pty()
1568 if (mm_send_fd(sock, s->ptyfd) == -1 || in mm_answer_pty()
1580 s->ttyfd = s->ptyfd; in mm_answer_pty()
1582 s->ptymaster = s->ptyfd; in mm_answer_pty()
Dmonitor_wrap.c561 mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) in mm_pty_allocate() argument
606 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 || in mm_pty_allocate()
Dconfigure.ac2298 int fd, ptyfd, ttyfd, status;
2312 openpty(&ptyfd, &ttyfd, NULL, NULL, NULL);