Subject: Re: NAMECACHE_ENTER_REVERSE (Re: CVS commit: src/sys/kern)
To: Bill Studenmund <wrstuden@NetBSD.org>
From: Rhialto <rhialto@falu.nl>
List: tech-kern
Date: 11/30/2006 18:32:49
On Tue 28 Nov 2006 at 14:11:01 -0800, Bill Studenmund wrote:
> For instance, for procfs's "exe" symlink, rather than depend on reverse 
> name cache entries, save the path you originally used to exec the program 
> in the first place. :-)

The path given to exec(2) might be relative, and the process looking at
it may (now) be in another directory. So it needs some extra work with
getcwd().

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.