[comp.os.vms] What is the CHP$_FLAGS argument in the $CHKPRO system service?

JWMANLY@AMHERST.BITNET ("John W. Manly") (12/31/87)

Hi there everyone:

I have a question regarding the $CHKPRO system service, that wonderful routine
that let's us poor unfortunates do our own access checking.  I have been trying
to find out what purpose, exactly, the CHP$_FLAGS item list entry serves.  In
particular, the CHP$V_READ and CHP$V_WRITE flags.

I think I understand the function of the CHP$V_READALL bit --- it simply
controls whether the $CHKPRO service should consider the presence or absence of
the READALL privilege in determining access.  But what do the other two bits
do?  The manual talks about these bits being used to determine whether a
read or write access is being performed on the object, but this is what the
CHP$_ACCESS item is for.  The distinction, according to the manual, is that
one of these is 'interpreted' and one is not.

What is it talking about?  What it this 'interpreted' stuff, and how does it
actually effect the access check?  Any help would be most welcome.

BITNET:  JWMANLY@AMHERST               - John W. Manly
PHONE:   (413)542-2526                   System Manager
                                         Amherst College