Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 19:42:43 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John-Mark Gurney <gurney_j@efn.org>
Cc:        arch@freebsd.org
Subject:   Re: make /dev/pci really readable
Message-ID:  <20030616193932.X27844@gamplex.bde.org>
In-Reply-To: <20030616074122.GF73854@funkthat.com>
References:  <20030616074122.GF73854@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030616193932.X27844>