Help getting pointer to a u structure of a process
Root Boy Jim
rbj at uunet.UU.NET
Fri Mar 8 09:34:58 AEST 1991
In article <10712 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:
>In article <1991Mar06.203225.20019 at lynx.CS.ORST.EDU> bridej at prism.CS.ORST.EDU
>(Jim Bride) writes:
>>Hi. I am working on a program which requires me to be able to access the
>>u (user) structure of a process OTHER than the process which is currently
>>running.
Allow me to rephrase your (Jim's) question: How do you find the u area?
Answer: I find it repulsive.
>Half of the raison d'etre of the `u. area' is that it can be sloughed off
>when the process is not running. If this has been done, p->p_flag&SLOAD
>will be 0 and the u. area will reside only in swap space. To alter it
>you would have to read it in first.
What is the other half? To save space?
I thought it was going to be merged with the proc table in 4.4. Eh?
--
[rbj at uunet 1] stty sane
unknown mode: sane
More information about the Comp.unix.internals
mailing list