Unified · Split
| @@ -1,3 +1,7 @@ | |||
| 1 | 20091215 | ||
| 2 | factotum(2) updated to include keyspec in signature | ||
| 3 | appl/cmd/mount.b uses -k value as keyspec if -9 selected [not to much purpose with current factotum's p9any] | ||
| 4 | bind(1) [for mount] updated to describe -k used for keyspec if -9 selected | ||
| 1 | 20091214 | 5 | 20091214 |
| 2 | switch more commands to use dial(2) | 6 | switch more commands to use dial(2) |
| 3 | change emu/Linux/emu-g not to require X11 libs (again) | 7 | change emu/Linux/emu-g not to require X11 libs (again) |
| @@ -103,7 +103,7 @@ init(ctxt: ref Draw->Context, args: list of string) · 102 unmodified lines | |||
| 103 | if(factotum == nil) | 103 | if(factotum == nil) |
| 104 | nomod(Factotum->PATH); | 104 | nomod(Factotum->PATH); |
| 105 | factotum->init(); | 105 | factotum->init(); |
| 106 | ok = factotum->mount(fd, mountpoint, flags, spec, nil).t0; | 106 | ok = factotum->mount(fd, mountpoint, flags, spec, keyfile).t0; |
| 107 | }else{ | 107 | }else{ |
| 108 | err: string; | 108 | err: string; |
| 109 | if(!persist){ | 109 | if(!persist){ |
Binary file not shown.
| @@ -1 +1 @@ | |||
| 1 | #define VERSION "Fourth Edition (20091214)" | 1 | #define VERSION "Fourth Edition (20091215)" |
| @@ -225,6 +225,9 @@ The default is · 224 unmodified lines | |||
| 225 | See | 225 | See |
| 226 | .IR keyring-auth (2) | 226 | .IR keyring-auth (2) |
| 227 | for more details. | 227 | for more details. |
| 228 | (If the | ||
| 229 | .B -9 | ||
| 230 | option is given, this option is interpreted differently: see below.) | ||
| 228 | .TP | 231 | .TP |
| 229 | .B -9 | 232 | .B -9 |
| 230 | For | 233 | For |
| @@ -240,9 +243,12 @@ any Inferno host, by using the · 9 unmodified lines | |||
| 240 | option to suppress Inferno authentication.) | 243 | option to suppress Inferno authentication.) |
| 241 | The existing Plan 9 file servers do not encrypt connections, so the | 244 | The existing Plan 9 file servers do not encrypt connections, so the |
| 242 | .B -C | 245 | .B -C |
| 243 | and | 246 | option is ignored. |
| 247 | The value of the | ||
| 244 | .B -k | 248 | .B -k |
| 245 | options are ignored. | 249 | option is added to the key specification for |
| 250 | .IR factotum (4) | ||
| 251 | for authentication. | ||
| 246 | .TP | 252 | .TP |
| 247 | .B -P | 253 | .B -P |
| 248 | When | 254 | When |
| @@ -17,8 +17,8 @@ Authinfo: adt{ · 16 unmodified lines | |||
| 17 | AuthRpcMax: con \fR...\fP; | 17 | AuthRpcMax: con \fR...\fP; |
| 18 | 18 | ||
| 19 | init: fn(); | 19 | init: fn(); |
| 20 | mount: fn(fd: ref Sys->FD, mnt: string, flags: int, aname: string): | 20 | mount: fn(fd: ref Sys->FD, mnt: string, flags: int, |
| 21 | (int, ref Authinfo); | 21 | aname: string, keyspec: string): (int, ref Authinfo); |
| 22 | 22 | ||
| 23 | getuserpasswd: fn(keyspec: string): (string, string); | 23 | getuserpasswd: fn(keyspec: string): (string, string); |
| 24 | 24 | ||