Browse Source

Plan 9 from Bell Labs 2008-04-21

David du Colombier 16 years ago
parent
commit
4a69e8ec6c
4 changed files with 20 additions and 21 deletions
  1. 2 3
      dist/replica/_plan9.db
  2. 1 1
      dist/replica/plan9.db
  3. 1 0
      dist/replica/plan9.log
  4. 16 17
      sys/man/2/auth

+ 2 - 3
dist/replica/_plan9.db

@@ -176,7 +176,7 @@
 386/bin/calendar - 775 sys sys 1200262736 79060
 386/bin/cat - 775 sys sys 1148500611 37482
 386/bin/cb - 775 sys sys 1168402293 77628
-386/bin/cdfs - 775 sys sys 1208576039 173203
+386/bin/cdfs - 775 sys sys 1208662151 173247
 386/bin/cec - 775 sys sys 1193714267 75896
 386/bin/cfs - 775 sys sys 1190863294 130565
 386/bin/chgrp - 775 sys sys 1168402294 59522
@@ -7542,7 +7542,7 @@ sys/man/2/arg - 664 sys sys 1196638937 2184
 sys/man/2/arith3 - 664 sys sys 1196638939 4393
 sys/man/2/assert - 664 sys sys 1204322308 379
 sys/man/2/atof - 664 sys sys 1196638937 2778
-sys/man/2/auth - 664 sys sys 1196638939 7537
+sys/man/2/auth - 664 sys sys 1208725235 7535
 sys/man/2/authsrv - 664 sys sys 1196638939 4583
 sys/man/2/avl - 664 sys sys 1196638939 2447
 sys/man/2/bin - 664 sys sys 1196638940 1880
@@ -15884,4 +15884,3 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
-386/bin/cdfs - 775 sys sys 1208662151 173247

+ 1 - 1
dist/replica/plan9.db

@@ -7542,7 +7542,7 @@ sys/man/2/arg - 664 sys sys 1196638937 2184
 sys/man/2/arith3 - 664 sys sys 1196638939 4393
 sys/man/2/assert - 664 sys sys 1204322308 379
 sys/man/2/atof - 664 sys sys 1196638937 2778
-sys/man/2/auth - 664 sys sys 1196638939 7537
+sys/man/2/auth - 664 sys sys 1208725235 7535
 sys/man/2/authsrv - 664 sys sys 1196638939 4583
 sys/man/2/avl - 664 sys sys 1196638939 2447
 sys/man/2/bin - 664 sys sys 1196638940 1880

+ 1 - 0
dist/replica/plan9.log

@@ -19029,3 +19029,4 @@
 1208633403 2 c sys/src/cmd/cdfs/dat.h - 664 sys sys 1208632592 4636
 1208649604 0 c sys/src/cmd/cdfs/mmc.c - 664 sys sys 1208649283 31548
 1208662204 0 c 386/bin/cdfs - 775 sys sys 1208662151 173247
+1208725204 0 c sys/man/2/auth - 664 sys sys 1208725235 7535

+ 16 - 17
sys/man/2/auth

@@ -152,7 +152,7 @@ The following routines use the
 .B AuthInfo
 structure returned after a successful authentication by
 .IR factotum (4).
-.PP
+.IP
 .ne 8
 .EX
 .ta 4n +4n +4n +4n +4n +4n +4n +4n +4n
@@ -165,7 +165,7 @@ typedef struct
 	uchar	*secret;		/* secret */
 } AuthInfo;
 .EE
-.sp
+.PP
 The fields
 .B cuid
 and
@@ -293,7 +293,7 @@ State between the challenge and response phase are
 kept in the
 .B Chalstate
 structure:
-.sp
+.IP
 .EX
 struct Chalstate
 {
@@ -310,15 +310,15 @@ struct Chalstate
 	int	userinchal;
 };
 .EE
-.sp
+.PP
 .I Auth_challenge
 requires a key template generated by an
 .B sprint
 of
 .I fmt
 and the variable arguments.  It must contain the protocol
-(\fBproto=\fIxxx\fR)
-and depending on the protocol, the user name (
+(\fLproto=\fIxxx\fR)
+and depending on the protocol, the user name (\c
 .BI user= xxx \fR).\fP
 .B P9cr
 and
@@ -355,7 +355,16 @@ verifies a simple user/password pair.
 .I Auth_getuserpasswd
 retrieves a user/password pair from
 .I factotum
-if permitted.
+if permitted:
+.IP
+.ne 8
+.EX
+.ta 4n +4n +4n +4n +4n +4n +4n +4n +4n
+typedef struct UserPasswd {
+	char	*user;
+	char	*passwd;
+} UserPasswd;
+.EE
 .PP
 .I Auth_getinfo
 reads an
@@ -367,16 +376,6 @@ used by the other routines in this library when
 communicating with
 .IR factotum .
 .PP
-.ne 8
-.EX
-.ta 4n +4n +4n +4n +4n +4n +4n +4n +4n
-typedef struct UserPasswd {
-	char	*user;
-	char	*passwd;
-} UserPasswd;
-.EE
-.sp
-.PP
 .I Auth_freeAI
 is used to free an
 .B AuthInfo