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 03:18:12AM +0000, SAITOH Masanobu wrote:
> 
> Module Name:  src
> Committed By: msaitoh
> Date:         Wed Aug 27 03:18:11 UTC 2003
> 
> Modified Files:
>       src/sys/kern [netbsd-1-5]: kern_sysctl.c
> 
> Log Message:
> Pull up rev. 1.143 via patch (requested by atatat in ticket #75):
> Use pfind() in proc_sysctl() to find the target process instead of a
> home-grown routine.

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.

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index