listen: new name space only for user none exportfs: new name space only when authentication Reference: /n/sources/patch/applied/man-exportfslisten Date: Mon Aug 13 19:14:34 CES 2007 Signed-off-by: djeannot24@gmail.com --- /sys/man/4/exportfs Mon Aug 13 19:11:14 2007 +++ /sys/man/4/exportfs Mon Aug 13 19:11:10 2007 @@ -43,11 +43,6 @@ gives the appearance of exporting a name space from a remote machine into a local file tree. .PP -.I Exportfs -creates a new name space for each connection, using -.B /lib/namespace -by default (see -.IR namespace (6)). The options are: .TP .PD @@ -66,6 +61,10 @@ session; used when .I exportfs is invoked to handle an incoming network connection. +A new name space is created, using +.B /lib/namespace +by default (see +.IR namespace (6)). .TP .B -B \fIaddress Dial @@ -251,4 +250,4 @@ .SH SEE ALSO .IR aan (8), .IR import (4), -.IR exportfs (4) +.IR listen (8) --- /sys/man/8/listen Mon Aug 13 19:11:32 2007 +++ /sys/man/8/listen Mon Aug 13 19:11:29 2007 @@ -9,7 +9,7 @@ .RB [ -t .IR trustsrvdir ] .RB [ -n -.IR namespace ] +.IR nsfile ] .RI [ net ] .PP .B aux/listen1 @@ -45,17 +45,17 @@ .BR none ; services found in .I trustsrvdir -as executed as the user who started +are executed as the user who started .IR listen . +When the user becomes +.BR none , +a new name space is created using +.BR /lib/namespace , +or optionally +.IR nsfile . Option .B -q -suppresses affirmative log information; -option -.B -n -sets an alternate -.I namespace -file (default -.BR /lib/namespace ). +suppresses affirmative log information. .PP Service names are made by concatenating the name of the network with the name of the service or port. --- /sys/man/4/import Mon Aug 13 19:11:54 2007 +++ /sys/man/4/import Mon Aug 13 19:11:50 2007 @@ -152,7 +152,7 @@ .PP Suppose that the machine .B moscvax -is has access to a private file server containing public web pages +has access to a private file server containing public web pages that need to be served by the less-trusted server .BR webvax . .B Webvax --- /sys/man/2/auth Mon Aug 13 19:12:19 2007 +++ /sys/man/2/auth Mon Aug 13 19:12:15 2007 @@ -132,7 +132,7 @@ and recreates the namespace using the file .I namespace (default -.BR /lib/nnamespace ). +.BR /lib/namespace ). It uses .I auth_userpassword and