Home | History | Annotate | Download | only in openssh

Lines Matching refs:new_fd

312 	int new_fd[3];
375 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) {
379 close(new_fd[j]);
398 new_fd[0], new_fd[1], new_fd[2]);
408 close(new_fd[0]);
409 close(new_fd[1]);
410 close(new_fd[2]);
434 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1)
438 if (!isatty(new_fd[0]))
439 set_nonblock(new_fd[0]);
440 if (!isatty(new_fd[1]))
441 set_nonblock(new_fd[1]);
442 if (!isatty(new_fd[2]))
443 set_nonblock(new_fd[2]);
453 new_fd[0], new_fd[1], new_fd[2], window, packetmax,
830 int new_fd[2];
850 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) {
854 close(new_fd[j]);
867 new_fd[0], new_fd[1]);
877 close(new_fd[0]);
878 close(new_fd[1]);
897 if (!isatty(new_fd[0]))
898 set_nonblock(new_fd[0]);
899 if (!isatty(new_fd[1]))
900 set_nonblock(new_fd[1]);
902 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]);