[comp.unix.ultrix] User and Proc structure in ULTRIX kernel

norris@engcon.marshall.ltv.com (DDDAVID) (05/30/90)

I'm having problems understanding how the user structure and
the proc structure in the ULTRIX kernel are associated.  On 
other systems (Convex, Sun),  the proc structure has a pointer
to the user structure and the user structure has a pointer to
the proc struct.  In ULTRIX, the user structure has a pointer
to the proc struct, but not vice-versa.

A particular proc struct is fairly easy to track down in the proc 
table, but in ULTRIX I can't figure out how to find the user
struct associated with this proc struct.  I know this must be
possible, because "ps" and "pstat" uses the user struct to
display the command name, etc.  Anyone that will shed some
light on the subject would be greatly appreciated.

   
David Norris                           engcon!norris@uunet.uu.net
Software Engineer