Subject: Re: curproc in procfs
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 03/04/1999 18:38:30
On Thu, Mar 04, 1999 at 12:34:15PM -0500, Bill Sommerfeld wrote:
> > One really, really low priority one:
> > Symbolic link ``curproc'' should be changed to set of ``curprocX'' links
> > for MP systems and even ``curproc0'' for computers woth one CPU.
> 
> It's not clear that this is right; /proc/curproc refers to the process
> making the open() call, so:
> 
> 	cat < /proc/curproc/foo  
> and 
> 	cat < /proc/$$/foo
> 
> should refer to the same object, and is still well-defined on an MP system..

What he said.

	-is