From c7eb015409f7207c97e7e41b11cef9a0e17c321d Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 11 Jul 2005 20:06:48 +0000 Subject: [PATCH] STABLE14-pts-logging-20050619 enhance pts logging (cherry picked from commit 0fed4743ae7763bf0b7c2c273cd54730e01f2249) --- src/ptserver/ptprocs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ptserver/ptprocs.c b/src/ptserver/ptprocs.c index ca8916ec9e..7c22da9291 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;