From owner-cvs-all Wed Nov 17 5:37:55 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 289B515278; Wed, 17 Nov 1999 05:37:31 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA17140; Wed, 17 Nov 1999 05:37:30 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <199911171337.FAA17140@freefall.freebsd.org> From: Peter Wemm Date: Wed, 17 Nov 1999 05:37:30 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps Makefile Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/11/17 05:37:30 PST Modified files: bin/ps Makefile Log: I'm probably jumping the gun, but what the heck, this is -current. Turn off setgid-kmem for /bin/ps, it's now quite functional without it. ps no longer needs /dev/*mem or /proc. (It will still use some /proc files if they are available for -e, but it's not required, so it'll happily run in a jail or chroot). The proc stats are now part of eproc (obtained via sysctl) and no longer needs to beat up the u-page reading code and the problems with that. This also has the side effect of disabling 'ps -e' for normal users *EXCEPT* when looking at their own processes. ie: they can see environments in processes with their uid, enforced by the ownership of /proc/*/mem. Root can still see them all, as it can open all /proc/*/mem. Revision Changes Path 1.13 +3 -3 src/bin/ps/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message