From: Derrick Brashear Date: Wed, 11 Sep 2002 08:20:23 +0000 (+0000) Subject: STABLE12-ptserver-acl-dumpentry-to-disallow-access-based-on-record-20020911 X-Git-Tag: openafs-stable-1_2_7~14 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=10a1e7caa04ed0be6667d0867e296e5317d85191;p=packages%2Fo%2Fopenafs.git STABLE12-ptserver-acl-dumpentry-to-disallow-access-based-on-record-20020911 tighten up acl enforcement (cherry picked from commit bbca5d8b08cb02a7f7b15fd4ea6d757282e99460) --- diff --git a/src/ptserver/ptprocs.c b/src/ptserver/ptprocs.c index 8d01b0d47..60ba43fb0 100644 --- a/src/ptserver/ptprocs.c +++ b/src/ptserver/ptprocs.c @@ -360,7 +360,7 @@ struct prdebugentry *aentry; code = pr_ReadEntry(tt, 0, apos, aentry); if (code) ABORT_WITH(tt,code); - if (!AccessOK (tt, cid, aentry, PRP_STATUS_MEM, PRP_STATUS_ANY)) + if (!AccessOK (tt, cid, 0, PRP_STATUS_MEM, 0)) ABORT_WITH(tt,PRPERM); /* Since prdebugentry is in the form of a prentry not a coentry, we will