From owner-freebsd-questions@FreeBSD.ORG Tue May 24 17:56:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F8E916A41C for ; Tue, 24 May 2005 17:56:01 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0654243D53 for ; Tue, 24 May 2005 17:56:01 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8575C5131A; Tue, 24 May 2005 10:56:48 -0700 (PDT) Date: Tue, 24 May 2005 10:56:48 -0700 From: Kris Kennaway To: martinko Message-ID: <20050524175648.GA79215@xor.obsecurity.org> References: <42936977.8040406@pobox.sk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <42936977.8040406@pobox.sk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, kris@obsecurity.org Subject: Re: procfs in 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 17:56:01 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 24, 2005 at 07:50:47PM +0200, martinko wrote: > hi, >=20 > i've been wondering long time what's the actual state of procfs in freebs= d. >=20 > yes, i added procfs line to fstab but i do not mount it automatically at > system startup. > yet i'm still able to use ps(1) unlike the originator of this thread. > how come? It's recommended not to use it unless you need to (at least on systems with untrusted users) because of the history of local security vulnerabilities. > i believe i've read somewhere that (use of) procfs was dropped or > something and freebsd does not use it anymore. if so, i'm asking why and > then why did the originator of this thread have problem running ps(1) > without procfs mounted? ps doesn't use (and never did use, afaik) procfs for normal operation. There is one function of ps that needs procfs, which is what the original poster was enquiring about. Kris --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCk2rgWry0BWjoQKURAhkJAJ4+QW1CCbM5t9lS+ChQryjMUPIvSgCg56/f ANoE7CsGTVo4sjRxsCw7bg8= =XMby -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--