Xref: utzoo comp.unix.internals:3027 comp.unix.xenix.misc:245 comp.sys.intel:1743 Newsgroups: comp.unix.internals,comp.unix.xenix.misc,comp.sys.intel Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!cynic!curt From: curt@cynic.wimsey.bc.ca (Curt Sampson) Subject: Re: How to access U area from proc table Organization: Mad Artists' Technological Hangout Date: Sat, 15 Jun 1991 11:43:46 GMT Message-ID: <1991Jun15.114346.11723@cynic.wimsey.bc.ca> References: <8D-B4F1@xds13.ferranti.com> In article <8D-B4F1@xds13.ferranti.com> kunkee@ficc.ferranti.com (randy kunkee) writes: > I expected the ADDR field of ps -l to point directly to the U area, but > it does not. Apparently it points to a 7 to 9 byte structure which > then points to the U area. This is small structure is what is referenced > by proc.p_caddr. It's probably a little trickier than that, actually. My device driver handbook that came with my 286 SCO Xenix indicates that a u_area can be swapped out (specifically, it warns against interupt routines attempting to modify the u_area of any process). cjs -- | "This sound system comes to you with fuel injection. Curt Sampson | Toes tapping, the unthinking masses dance to a new curt@cynic.uucp | tune. . . . Undress yourself to this bastard. Suck curt@cynic.wimsey.bc.ca | on this plan of noise, bimbo!" --Gary Clail