Subject: Re: better w(1)
To: Jason Thorpe <>
From: Chris G. Demetriou <>
List: current-users
Date: 06/21/1999 11:16:43
Jason Thorpe <> writes:
>  > While I think of it, on a semi-related note, how close is ps(1) to being
>  > not-setgid with both procfs & sysctl's?
> It's setgid() so that it can read the environ, args, proctitle of other
> processes.
> Just to get process info, it doesn't need it at all, for the liver kernel
> case.

However, the source code requires it anyway.  8-)

Chris Demetriou - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.