Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 07:52:10 +0000 (UTC)
From:      Brian Somers <brian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196530 - head/usr.sbin/ppp
Message-ID:  <200908250752.n7P7qA2r019955@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brian
Date: Tue Aug 25 07:52:09 2009
New Revision: 196530
URL: http://svn.freebsd.org/changeset/base/196530

Log:
  Document that ppp handles pipe(2) descriptors specially in -direct mode.
  
  MFC after:	3 days

Modified:
  head/usr.sbin/ppp/ppp.8.m4

Modified: head/usr.sbin/ppp/ppp.8.m4
==============================================================================
--- head/usr.sbin/ppp/ppp.8.m4	Tue Aug 25 06:25:59 2009	(r196529)
+++ head/usr.sbin/ppp/ppp.8.m4	Tue Aug 25 07:52:09 2009	(r196530)
@@ -27,7 +27,7 @@ changecom(,)dnl
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 24, 2007
+.Dd August 25, 2009
 .Dt PPP 8
 .Os
 .Sh NAME
@@ -171,6 +171,17 @@ If callback is configured,
 will use the
 .Dq set device
 information when dialing back.
+.Pp
+When run in
+.Fl direct
+mode,
+.Nm
+will behave slightly differently if descriptor 0 was created by
+.Xr pipe 2 .
+As pipes are not bi-directional, ppp will redirect all writes to descriptor
+1 (standard output), leaving only reads acting on descriptor 0.
+No special action is taken if descriptor 0 was created by
+.Xr socketpair 2 .
 .It Fl dedicated
 This option is designed for machines connected with a dedicated
 wire.
@@ -6055,6 +6066,8 @@ This socket is used to pass links betwee
 .Xr tcpdump 1 ,
 .Xr telnet 1 ,
 .Xr kldload 2 ,
+.Xr pipe 2 ,
+.Xr socketpair 2 ,
 ifdef({LOCALNAT},{},{.Xr libalias 3 ,
 })dnl
 ifdef({LOCALRAD},{},{.Xr libradius 3 ,



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