Xref: utzoo comp.unix.internals:2266 comp.unix.wizards:24391 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.unix.internals,comp.unix.wizards Subject: Re: Help getting pointer to a u structure of a process Keywords: process, user structure Message-ID: <124885@uunet.UU.NET> Date: 7 Mar 91 23:34:58 GMT References: <1991Mar06.203225.20019@lynx.CS.ORST.EDU> <10712@dog.ee.lbl.gov> Followup-To: comp.unix.internals Organization: UUNET Communications Services, Falls Church, VA Lines: 22 In article <10712@dog.ee.lbl.gov> torek@elf.ee.lbl.gov (Chris Torek) writes: >In article <1991Mar06.203225.20019@lynx.CS.ORST.EDU> bridej@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@uunet 1] stty sane unknown mode: sane