Browse Source

Plan 9 from Bell Labs 2003-05-17

David du Colombier 21 years ago
parent
commit
ae5d7483f7
6 changed files with 16 additions and 24 deletions
  1. 4 4
      dist/replica/plan9.db
  2. 5 0
      dist/replica/plan9.log
  3. 4 4
      sys/man/2/pushtls
  4. 1 16
      sys/man/4/factotum
  5. 1 0
      sys/man/8/ventiaux
  6. 1 0
      sys/src/libauth/auth_proxy.c

+ 4 - 4
dist/replica/plan9.db

@@ -4671,7 +4671,7 @@ sys/man/2/print - 664 sys sys 1046620831 8889
 sys/man/2/privalloc - 664 sys sys 984709633 651
 sys/man/2/proto - 664 sys sys 969499889 2948
 sys/man/2/pushssl - 664 sys sys 958249503 1032
-sys/man/2/pushtls - 664 sys sys 1045501472 4516
+sys/man/2/pushtls - 664 sys sys 1053127877 4496
 sys/man/2/qball - 664 sys sys 950892866 2000
 sys/man/2/qsort - 664 sys sys 944959694 763
 sys/man/2/quaternion - 664 sys sys 950892867 3421
@@ -4757,7 +4757,7 @@ sys/man/4/consolefs - 664 sys sys 1022112154 3751
 sys/man/4/dossrv - 664 sys sys 1015024813 4176
 sys/man/4/execnet - 664 sys sys 1019866708 1069
 sys/man/4/exportfs - 664 sys sys 1018386776 3746
-sys/man/4/factotum - 664 sys sys 1049038407 14737
+sys/man/4/factotum - 664 sys sys 1053127875 14460
 sys/man/4/fossil - 664 sys sys 1048643971 8463
 sys/man/4/fs - 664 sys sys 1019058716 3387
 sys/man/4/ftpfs - 664 sys sys 1048285446 4327
@@ -4902,7 +4902,7 @@ sys/man/8/tlssrv - 664 sys sys 1037580152 2594
 sys/man/8/udpecho - 664 sys sys 954305553 303
 sys/man/8/update - 664 sys sys 961259288 2336
 sys/man/8/venti - 664 sys sys 1048637200 5194
-sys/man/8/ventiaux - 664 sys sys 1045501683 9967
+sys/man/8/ventiaux - 664 sys sys 1053095327 9971
 sys/man/8/vga - 664 sys sys 959698505 3557
 sys/man/8/x509 - 664 sys sys 1037581047 1115
 sys/man/fonts - 664 sys sys 944959700 218
@@ -10835,7 +10835,7 @@ sys/src/libauth/auth_challenge.c - 664 sys sys 1014929316 1976
 sys/src/libauth/auth_chuid.c - 664 sys sys 1016833881 669
 sys/src/libauth/auth_getkey.c - 664 sys sys 1038605082 865
 sys/src/libauth/auth_getuserpasswd.c - 664 sys sys 1014929317 1363
-sys/src/libauth/auth_proxy.c - 664 sys sys 1019058720 3595
+sys/src/libauth/auth_proxy.c - 664 sys sys 1053106349 3606
 sys/src/libauth/auth_respond.c - 664 sys sys 1044828825 1420
 sys/src/libauth/auth_rpc.c - 664 sys sys 1048645351 2064
 sys/src/libauth/auth_userpasswd.c - 664 sys sys 1014929317 1097

+ 5 - 0
dist/replica/plan9.log

@@ -19324,3 +19324,8 @@
 1053021624 0 c sys/src/9/bitsy/Booting101 - 664 sys sys 1053021020 6879
 1053021624 1 c sys/src/9/bitsy/errstr.h - 664 sys sys 1053021020 2137
 1053021624 2 c sys/src/9/bitsy/wavelan.c - 664 sys sys 1053021020 27267
+1053095409 0 c sys/man/8/ventiaux - 664 sys sys 1053095327 9971
+1053102619 0 c sys/man/4/factotum - 664 sys sys 1053100997 14471
+1053108025 0 c sys/src/libauth/auth_proxy.c - 664 sys sys 1053106349 3606
+1053127922 0 c sys/man/2/pushtls - 664 sys sys 1053127877 4496
+1053127922 1 c sys/man/4/factotum - 664 sys sys 1053127875 14460

+ 4 - 4
sys/man/2/pushtls

@@ -143,10 +143,10 @@ to perform the corresponding function on the server side:
 .EE
 The private key corresponding to
 .I cert.pem
-should have been previously loaded into factotum, for example by
-.EX
-   auth/secretpem key.pem > /mnt/factotum/ctl
-.EE
+should have been previously loaded into factotum.
+(See
+.IR rsa (8)
+for more about key generation.)
 .PP
 .I Conn
 is not required for the ongoing conversation and may

+ 1 - 16
sys/man/4/factotum

@@ -1,6 +1,6 @@
 .TH FACTOTUM 4
 .SH NAME
-factotum, fgui, secretpem \- authentication agent
+factotum, fgui \- authentication agent
 .SH SYNOPSIS
 .B auth/factotum
 [
@@ -14,10 +14,6 @@ factotum, fgui, secretpem \- authentication agent
 .B -m
 .I mtpt
 ]
-[
-.B -o
-.I owner
-]
 .PP
 .B auth/factotum
 .B -g
@@ -215,17 +211,6 @@ and
 .BR \-S .
 This option is typically used by
 the kernel at boot time.
-.TP
-.B \-o
-causes the agent to set the owner to
-.I owner
-(by default, the user invoking
-.IR factotum ).
-This allows
-.I owner
-to use the keys stored in that instance of the factotum,
-and is useful for setting up a factotum to be used by
-.BR none .
 .PD
 .PP
 .I Fgui

+ 1 - 0
sys/man/8/ventiaux

@@ -66,6 +66,7 @@ write \- Venti maintenance and debugging commands
 ]
 .I name
 .I file
+.PP
 .B venti/fmtindex
 [
 .B -a

+ 1 - 0
sys/src/libauth/auth_proxy.c

@@ -59,6 +59,7 @@ auth_freeAI(AuthInfo *ai)
 	free(ai->suid);
 	free(ai->cap);
 	free(ai->secret);
+	free(ai);
 }
 
 static uchar*