From owner-cvs-all Tue Jun 30 14:35:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09110 for cvs-all-outgoing; Tue, 30 Jun 1998 14:35:18 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09104; Tue, 30 Jun 1998 14:35:15 -0700 (PDT) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA03436; Tue, 30 Jun 1998 14:34:16 -0700 (PDT) Date: Tue, 30 Jun 1998 14:34:16 -0700 (PDT) Message-Id: <199806302134.OAA03436@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/ps nlist.c ps.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk phk 1998/06/30 14:34:15 PDT Modified files: bin/ps nlist.c ps.c Log: Pick up kernel variables/constants using sysctl rather than through /dev/mem Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root. Revision Changes Path 1.11 +7 -76 src/bin/ps/nlist.c 1.25 +10 -4 src/bin/ps/ps.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message