[25522] in bugtraq
Re: ps under FreeBSD
daemon@ATHENA.MIT.EDU (Crist J. Clark)
Mon May 20 22:32:34 2002
Date: Sun, 19 May 2002 01:14:38 -0700
From: "Crist J. Clark" <crist.clark@attbi.com>
To: Jakub Filonik <sirat@fremen.g0ds.org>
Cc: bugtraq@securityfocus.com
Message-ID: <20020519011438.E67779@blossom.cjclark.org>
Reply-To: cjclark@alum.mit.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20020518204038.A41695@fremen.dhs.org>; from sirat@fremen.g0ds.org on Sat, May 18, 2002 at 08:40:38PM +0200
On Sat, May 18, 2002 at 08:40:38PM +0200, Jakub Filonik wrote:
> Hi,
> I was playing with ps on FreeBSD with kern.ps_showallprocs=0 and I was
> surprised when I have seen that I may see info about running process, if I
> know it's ID
The ps(1) utility's manpage says,
-a Display information about other users' processes as well as your
own. This can be disabled by setting the kern.ps_showallprocs
sysctl to zero.
It says nothing else about kern.ps_showallprocs. That's all it does
(in -STABLE).
This is not a bug, but simply a limitation of the (silly)
kern.ps_showallprocs feature.
--
Crist J. Clark | cjclark@alum.mit.edu
| cjclark@jhu.edu
http://people.freebsd.org/~cjc/ | cjc@freebsd.org