Subject: Re: procfs broken on -current?
To: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 02/11/2007 17:19:14
Hi,

On Sat, Feb 10, 2007 at 11:33:50PM +0900, Kouichirou Hiratsuka wrote:

> After accessing /proc/curproc/file, the process is hung up.
> Does anyone else seeing this?

procfs_lookup() was leaking a reference to the process when called against
curproc, so it would get stuck draining references and couldn't exit. This
should be fixed now:

spanners$ ls -la /proc/curproc/file
-r-xr-xr-x  1 root  wheel  23633 Feb 10 12:32 /proc/curproc/file
spanners$

Thanks,
Andrew