From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: YAMANASHI Takeshi <9.nashi@gmail.com> Date: Mon, 4 Jul 2005 17:21:15 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] AuthInfo.cuid and suid Topicbox-Message-UUID: 618505ea-ead0-11e9-9d60-3106f5b1d025 My old 4th ed. has the line: % nashi@valinore grep -n mkcap /sys/src/cmd/auth/factotum/rpc.c 329: fss->ai.cap = mkcap(r->fid->uid, fss->ai.cuid); % nashi@valinore 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. --