Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2009 07:11:47 +0000 (UTC)
From:      Brian Somers <brian@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/ppp exec.c exec.h main.c physical.c
Message-ID:  <200908270711.n7R7BvUA088223@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       2009-08-27 07:11:47 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    usr.sbin/ppp         exec.c exec.h main.c physical.c 
  Log:
  SVN rev 196578 on 2009-08-27 07:11:47Z by brian
  
  MFC: When ``ppp -direct'' is invoked by a program that uses pipe(2) to
       create stdin and stdout, don't blindly try to use stdin as a bi-directional
       channel.  Instead, detect the pipe and set up a special exec handler
       that indirects write() calls through stdout.
  
       This fixes the problem where ``set device "!ssh -e none host ppp
       -direct label"'' no longer works with an openssh-5.2 server side as
       that version of openssh ignores the USE_PIPES config setting and
       *always* uses pipes (rather than socketpair) for stdin/stdout channels.
  
  Revision    Changes    Path
  1.29.10.1   +298 -122  src/usr.sbin/ppp/exec.c
  1.5.46.1    +2 -2      src/usr.sbin/ppp/exec.h
  1.193.10.1  +4 -2      src/usr.sbin/ppp/main.c
  1.59.10.1   +1 -0      src/usr.sbin/ppp/physical.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908270711.n7R7BvUA088223>