diff options
author | brian <brian@FreeBSD.org> | 2009-08-25 07:52:09 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2009-08-25 07:52:09 +0000 |
commit | 998b5231f2ac0ae770ce77a9d54712659ea0bb80 (patch) | |
tree | 4fc1d41b1c918b6602c000fc4dd77330b96b29ee /usr.sbin | |
parent | 649ad6d51f08e63f9c3680d76330f22f77410a01 (diff) | |
download | FreeBSD-src-998b5231f2ac0ae770ce77a9d54712659ea0bb80.zip FreeBSD-src-998b5231f2ac0ae770ce77a9d54712659ea0bb80.tar.gz |
Document that ppp handles pipe(2) descriptors specially in -direct mode.
MFC after: 3 days
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ppp.8.m4 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4 index 2fc84e4..6663759 100644 --- a/usr.sbin/ppp/ppp.8.m4 +++ b/usr.sbin/ppp/ppp.8.m4 @@ -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 between different instances of .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 , |