Subject: Re: privacy [was: Re: kern.showallprocs implementation]
To: Elad Efrat <>
From: Simon Burge <>
List: tech-kern
Date: 08/31/2005 14:39:44
On Wed, Aug 31, 2005 at 07:20:10AM +0300, Elad Efrat wrote:

> Simon Burge wrote:
> > I wonder if this means that the correct behavior for
> > "kill(<other-users-process-id>, sig)" with this knob disabled is to
> > return ESRCH or EPERM?
> Ideally, we could get away with ESRCH. You can always write a program
> that will spin on trying to attach to a specific PID, so it doesn't
> really matter. We should make sure that determining what PIDs are
> running is as far as someone can get.

The current behaviour is to return EPERM.  It sounds like from the rest
of your message you meant that instead of ESRCH, or did I misunderstand

Simon Burge                                   <>
NetBSD Development, Support and Service: