From owner-freebsd-current Sat Sep 11 12:39:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from server.amis.net (server.amis.net [212.18.32.10]) by hub.freebsd.org (Postfix) with ESMTP id 455C61545B for ; Sat, 11 Sep 1999 12:39:25 -0700 (PDT) (envelope-from blaz@gold.amis.net) Received: by server.amis.net (Postfix, from userid 66) id 14F79D5E60; Sat, 11 Sep 1999 21:39:23 +0200 (CEST) Received: by gold.amis.net (Postfix, from userid 1000) id D58C01D4A; Sat, 11 Sep 1999 19:02:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gold.amis.net (Postfix) with ESMTP id CE96457CE for ; Sat, 11 Sep 1999 19:02:00 +0200 (CEST) Date: Sat, 11 Sep 1999 19:02:00 +0200 (CEST) From: Blaz Zupan To: freebsd-current@freebsd.org Subject: Re: ps doesn't need privileges? In-Reply-To: <19990911111820.G906@holly.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, sorry for the wasted bandwidth. I found it. I should have read the commit logs more carefully. :( ---------------------------- revision 1.25 date: 1998/06/30 21:34:14; author: phk; state: Exp; lines: +10 -4 branches: 1.25.2; 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. ---------------------------- Blaz Zupan, blaz@amis.net, http://www.herbie.amis.net Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message