Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!burl!codas!ufcsv!beach.cis.ufl.edu!jdc
From: jdc@beach.cis.ufl.edu.UUCP
Newsgroups: comp.os.vms
Subject: Re: lnm tables
Message-ID: <9577@ufcsv.cis.ufl.EDU>
Date: Sun, 6-Dec-87 18:56:04 EST
Article-I.D.: ufcsv.9577
Posted: Sun Dec  6 18:56:04 1987
Date-Received: Sat, 12-Dec-87 04:57:34 EST
References: <37rrk@byuvax.bitnet> <13019@beta.UUCP>
Sender: news@ufcsv.cis.ufl.EDU
Reply-To: jdc@beach.cis.ufl.edu (Jeff Capehart)
Organization: UF CIS Department
Lines: 33


In response to my original question about the name of the job table,
mbr@beta.UUCP writes:
>... If you really want it, the JIB address is stored in the PCB
>at offset PCB$L_JIB.

Well, I really do want it!  I think many people here have gotten a bit too
comfortable with all their privs.  I am forced to use the JOB table because
there is NO other table to which I have access to write other than my own.
Because it is possible to set ACL's on job tables, it would be really nice
if there were a way to fetch the name of the table also.  I don't have any
of these wonderful privs SYSNAM, GRPNAM, CMKRNL, SYSPRV, so it is very
difficult to extract the name of a foreign processes job table name.  I
also don't have GROUP or WORLD priv so I am even limited to my own tables.

A nice feature available in SHOW is the SHOW LOGICAL /STRUCTURE command
which will show all the tables currently accessible.  I bet any system
manager doesn't use this a lot because it might be a few pages long...
Users, on the other hand, only get the standard ones... proc, job, group, sys

I tried using the offset, I am not sure but I think the explicit address
that I got was %x80135430 (which was not the table name either) but I had
no read access to that area of virtual memory.  I hope DEC straightens some
things out.  I don't understand what was wrong with using the top level
process on the process tree PID ... that would be unique wouldn't it?

I am still wondering about how to get it, through some table lookup or
a system service.  JPI would be nice, but if there are other ways, please
let me know.  Thanks, I appreciate all the replys on this topic!!

--
Jeff Capehart 		Internet: micronaut%oak.decnet@pine.circa.ufl.edu
University of Florida	UUCP:	  ..!ihnp4!codas!ufcsv!beach.cis.ufl.edu!jdc