summaryrefslogtreecommitdiff
path: root/module/factotum.m
diff options
context:
space:
mode:
Diffstat (limited to 'module/factotum.m')
-rw-r--r--module/factotum.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/factotum.m b/module/factotum.m
index 5d1df5f8..beb238cc 100644
--- a/module/factotum.m
+++ b/module/factotum.m
@@ -9,10 +9,10 @@ Factotum: module
suid: string; # server id
cap: string; # capability (only valid on server side)
secret: array of byte;
- # TO DO: add attrs
+ attrs: list of ref Attr; # attributes after authentication
- unpack: fn(a: array of byte): (int, ref Authinfo);
- read: fn(fd: ref Sys->FD): ref Authinfo;
+ unpack: fn(a: array of byte): (int, ref Authinfo); # excludes attributes
+ read: fn(facfd: ref Sys->FD): ref Authinfo; # includes attributes
};
mount: fn(fd: ref Sys->FD, mnt: string, flags: int, aname: string, keyspec: string): (int, ref Authinfo);