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 | 5 | 20091214 |
| 2 | 6 | switch more commands to use dial(2) |
| 3 | 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 | 103 | if(factotum == nil) |
| 104 | 104 | nomod(Factotum->PATH); |
| 105 | 105 | factotum->init(); |
| 106 | − ok = factotum->mount(fd, mountpoint, flags, spec, nil).t0; | |
| 106 | + ok = factotum->mount(fd, mountpoint, flags, spec, keyfile).t0; | |
| 107 | 107 | }else{ |
| 108 | 108 | err: string; |
| 109 | 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 | 225 | See |
| 226 | 226 | .IR keyring-auth (2) |
| 227 | 227 | for more details. |
| 228 | +(If the | |
| 229 | +.B -9 | |
| 230 | +option is given, this option is interpreted differently: see below.) | |
| 228 | 231 | .TP |
| 229 | 232 | .B -9 |
| 230 | 233 | For |
| @@ -240,9 +243,12 @@ any Inferno host, by using the · 9 unmodified lines | ||
| 240 | 243 | option to suppress Inferno authentication.) |
| 241 | 244 | The existing Plan 9 file servers do not encrypt connections, so the |
| 242 | 245 | .B -C |
| 243 | −and | |
| 246 | +option is ignored. | |
| 247 | +The value of the | |
| 244 | 248 | .B -k |
| 245 | −options are ignored. | |
| 249 | +option is added to the key specification for | |
| 250 | +.IR factotum (4) | |
| 251 | +for authentication. | |
| 246 | 252 | .TP |
| 247 | 253 | .B -P |
| 248 | 254 | When |
| @@ -17,8 +17,8 @@ Authinfo: adt{ · 16 unmodified lines | ||
| 17 | 17 | AuthRpcMax: con \fR...\fP; |
| 18 | 18 | |
| 19 | 19 | init: fn(); |
| 20 | −mount: fn(fd: ref Sys->FD, mnt: string, flags: int, aname: string): | |
| 21 | − (int, ref Authinfo); | |
| 20 | +mount: fn(fd: ref Sys->FD, mnt: string, flags: int, | |
| 21 | + aname: string, keyspec: string): (int, ref Authinfo); | |
| 22 | 22 | |
| 23 | 23 | getuserpasswd: fn(keyspec: string): (string, string); |
| 24 | 24 | |