Subject: Re: better w(1)
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 06/21/1999 08:39:21
On Tue, 22 Jun 1999 01:23:47 +1000 (EST)
Darren Reed <darrenr@reed.wattle.id.au> wrote:
> 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.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>