Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [netbsd-1-5] src/sys/kern



On Wed, Aug 27, 2003 at 09:48:16PM +1000, matthew green wrote:
> 
>    On Wed, Aug 27, 2003 at 10:06:51AM +0100, David Laight wrote:
>    > Why is this change being made?
>    > 
>    > There has always been a difference between what pfind() will look for,
>    > and what the code is sysctl_proc() will look for.
>    > So this change is changing the processes on which it is valid to do
>    > a SYSCTL_PROC.
>    > 
>    > In particular it makes sysclt_proc fail on zombies and neo-zombies.
>    
>    I don't think you want to do a sysclt_proc() on zombies.
>    There are probably issues with the validity of the data being returned.
> 
> 
> i assume that david is saying that eg now zombies won't be shown in ps(1).

I assume the commit refers to proc_sysctl(), as there isn't a sysctl_proc().
proc_sysctl() deals with the proc.<pid> tree, not the kern.proc* used
by ps & al.

--
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 24 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index