My old 4th ed. has the line:

  % [EMAIL PROTECTED] grep -n mkcap /sys/src/cmd/auth/factotum/rpc.c
  329:          fss->ai.cap = mkcap(r->fid->uid, fss->ai.cuid);

  % [EMAIL PROTECTED] ls -l /sys/src/cmd/auth/factotum/rpc.c
  --rw-rw-r-- M 9 sys sys 10229 Jun 29  2002 /sys/src/cmd/auth/factotum/rpc.c

On the other hand, the recent factotum has the line:

  cpu% grep -n mkcap  /sys/src/cmd/auth/factotum/rpc.c
  341:          fss->ai.cap = mkcap(r->fid->uid, fss->ai.suid);

Why cuid was changed to suid while cuid remains in many places like
cpu.c?  What is the difference between them?

The following description in auth(2) did't clear my confusion...

          The fields cuid and suid point to the authenticated ids of
          the client and server.  Cap is a capability returned only to
          the server.
-- 


Reply via email to