Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 1998 23:14:47 -0400 (EDT)
From:      Robert Watson <robert@cyrus.watson.org>
To:        Joel Ray Holveck <joelh@gnu.org>
Cc:        Andrzej Bialecki <abial@nask.pl>, freebsd-current@FreeBSD.ORG
Subject:   Re: Limit 'ps' to show only user's processes
Message-ID:  <Pine.BSF.3.96.980917231235.7181A-100000@fledge.watson.org>
In-Reply-To: <199809180255.VAA02946@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Sep 1998, Joel Ray Holveck wrote:

> > Several people have been asking for this "feature" from time to time,
> > namely that they could set a system variable (sysctl?) to limit 'ps' to
> > show not all processes, but only user's processes for euid!=0.
> > Would you consider this something worth implementing?
> 
> This belongs as a switch to ps, not as a sysctl variable.

I agreed until we started with this 'procfs' thing.  With ps sgid kmem and
pulling data from /dev/kmem, the appropriate place to put the limit was in
ps.  With /procfs (and presumably a similar desire to limit data leaking),
presumably the kernel would also be involved in limiting the spread of
info.  Perhaps we can get ps to only use procfs and that would be far more
desirable than this kmem approach.  I guess one would also have to either
limit top, or have top use procfs.

  Robert N Watson 

Carnegie Mellon University            http://www.cmu.edu/
TIS Labs at Network Associates, Inc.  http://www.tis.com/
SafePort Network Services             http://www.safeport.com/
robert@fledge.watson.org              http://www.watson.org/~robert/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980917231235.7181A-100000>