From owner-freebsd-arch@FreeBSD.ORG Mon Jun 16 02:42:52 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A61837B41F for ; Mon, 16 Jun 2003 02:42:52 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6A2143FBF for ; Mon, 16 Jun 2003 02:42:50 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id TAA07280; Mon, 16 Jun 2003 19:42:44 +1000 Date: Mon, 16 Jun 2003 19:42:43 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: John-Mark Gurney In-Reply-To: <20030616074122.GF73854@funkthat.com> Message-ID: <20030616193932.X27844@gamplex.bde.org> References: <20030616074122.GF73854@funkthat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: make /dev/pci really readable X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 09:42:52 -0000 On Mon, 16 Jun 2003, John-Mark Gurney wrote: > Does anyone have an objection to making /dev/pci really honor the > permissions, and giving normal users (or just group wheel) premission > to run pciconf -l. Right now the code requires the write bit set for > any operation. IIRC, it is like it is because reading it may have side effects (and thus isn't really just reading). If it honored the permissions then it should have mode 600 so that normal users can't run pciconf -l :-]. Bruce