From: Jeffrey Altman Date: Mon, 11 Jul 2005 20:06:48 +0000 (+0000) Subject: STABLE14-pts-logging-20050619 X-Git-Tag: openafs-devel-1_3_85~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c7eb015409f7207c97e7e41b11cef9a0e17c321d;p=packages%2Fo%2Fopenafs.git STABLE14-pts-logging-20050619 enhance pts logging (cherry picked from commit 0fed4743ae7763bf0b7c2c273cd54730e01f2249) --- diff --git a/src/ptserver/ptprocs.c b/src/ptserver/ptprocs.c index ca8916ec9..7c22da929 100644 --- a/src/ptserver/ptprocs.c +++ b/src/ptserver/ptprocs.c @@ -1201,6 +1201,10 @@ getCPS(call, aid, alist, over, cid) if (code) ABORT_WITH(tt, code); + code = WhoIsThis(call, tt, cid); + if (code) + ABORT_WITH(tt, PRPERM); + temp = FindByID(tt, aid); if (!temp) ABORT_WITH(tt, PRNOENT); @@ -1523,7 +1527,7 @@ SPR_ListEntry(call, aid, aentry) afs_int32 code; afs_int32 cid = ANONYMOUSID; - code = listEntry(call, aid, aentry, cid); + code = listEntry(call, aid, aentry, &cid); osi_auditU(call, PTS_LstEntEvent, code, AUD_LONG, aid, AUD_END); ViceLog(125, ("PTS_ListEntry: code %d cid %d aid %d", code, cid, aid)); return code;