Home
last modified time | relevance | path

Searched refs:ptymaster (Results 1 – 4 of 4) sorted by relevance

/external/openssh/
Dsession.c480 int fdout, ptyfd, ttyfd, ptymaster; in do_exec_pty() local
502 if ((ptymaster = dup(ptyfd)) < 0) { in do_exec_pty()
515 close(ptymaster); in do_exec_pty()
523 close(ptymaster); in do_exec_pty()
575 s->ptymaster = ptymaster; in do_exec_pty()
1703 sessions[id].ptymaster = -1; in session_unused()
2020 if (s->ptymaster == -1 || tcsendbreak(s->ptymaster, 0) < 0) in session_break_req()
2165 if (s->ptymaster != -1 && close(s->ptymaster) < 0) in session_pty_cleanup2()
2167 s->ptymaster, strerror(errno)); in session_pty_cleanup2()
Dsession.h41 int ptyfd, ttyfd, ptymaster; member
Dmonitor_wrap.c548 if (s->ptymaster != -1 && close(s->ptymaster) < 0) in mm_session_pty_cleanup2()
550 s->ptymaster, strerror(errno)); in mm_session_pty_cleanup2()
Dmonitor.c1488 s->ptymaster = s->ptyfd; in mm_answer_pty()