From owner-freebsd-current Sun Apr 28 13:45:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id BA2E237B419; Sun, 28 Apr 2002 13:45:07 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020428204507.TXEH12183.rwcrmhc52.attbi.com@blossom.cjclark.org>; Sun, 28 Apr 2002 20:45:07 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g3SKj6M49645; Sun, 28 Apr 2002 13:45:06 -0700 (PDT) (envelope-from cjc) Date: Sun, 28 Apr 2002 13:45:06 -0700 From: "Crist J. Clark" To: Robert Watson Cc: Richard Arends , Kris Kennaway , current@FreeBSD.org Subject: Re: truss Message-ID: <20020428134506.J37618@blossom.cjclark.org> References: <20020428210839.J52867-100000@mail.unixguru.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.org on Sun, Apr 28, 2002 at 03:59:44PM -0400 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 28, 2002 at 03:59:44PM -0400, Robert Watson wrote: [snip] > In FreeBSD 5.0, all this information is exported from the kernel using the > sysctl() interface, which provides much more information gating, and > flexibe policy controls. This exists in part in 4.x, but not completely. > In 5.0, ps requires no special privilege, and access control is done > entirely in the kernel. I think I'm missing something here. $ uname -r 4.5-RELEASE $ ls -l /bin/ps -r-xr-xr-x 1 root wheel 213796 Jan 30 14:30 /bin/ps ps(1) has no special privileges in 4.x, but I may not understand what you mean by "special privileges?" (To me it means s{u,g}id.) -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message