Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)

202 Chapter 10
Technical Articles
CI Enhancements
FLOCK
#S2 JVREM,MANAGER.SYS P:1,L:1,W:0,R:0 REM : 15.28.88.18
#P58 (CI.PUB.SYS)
ACCESS: n/a REC#: n/a FNUM: n/a
LOCKSOwner Waiter
OPEN
Restrictions . Formats 8 and 9 are available to all users, however only
more privileged users get to see individual accessor information. The
user having SM or OP capabilities can see all accessors of a
file—assuming the user has TD access to the file itself. If the user does
not have SM or OP capabilities, but does possess AM capability, and the
file's GID matches the user's GID, then all accessors are displayed. If
the user lacks SM, OP and AM capabilities, but is the owner of the file
being listed, then the individual accessors are displayed. Otherwise
only the accessor summary line is visible.
Even if the user is able to see individual accessors, certain format 9
fields have additional restrictions for security concerns: the program
name and IP address are protected.
To see the program name the user must meet the same rules that apply
to the SHOWPROC command. Specifically, one or more of the following
applies:
process is within the user's logon job/session.
process' user and account names match the user's user and account
names and the system's JOBSECURITY is set to LOW.
user has OP or SM capability.
To see the IP address the user must meet the SHOWCONN utility rules,
namely: the user must have SM, OP, PM, NA, or NM capabilities.
Selection Equations for LISTFILE
Selection equations for the LISTFILE command have been expanded. It
is now possible to select files by whether and how a file is accessed, and
by file code. The ACCESS= criteria supports 4 types of access, as shown
below:
SELEQ=[ ACCESS = INUSE | OPEN | LOCK[ed] | EXCL[usive] ]
INUSE is true if any processes are accessing the file. This
includes normal FOPEN-like accessors and sm_open
accessors. Phantom accessors (like LISTF,2) that don't
open the file at all are not noticed and thus INUSE
evaluates to false. INUSE examines the total number of
accessors field described above.