make /dev/pci really readable

M. Warner Losh imp at bsdimp.com
Mon Jun 16 21:52:54 PDT 2003


In message: <20030616074122.GF73854 at funkthat.com>
            John-Mark Gurney <gurney_j at efn.org> writes:
: 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.

Yes.  That's too dangerous and will panic a machine.

You can get the same information that pciconf -l does by going through
the alternative interface of devinfo.

Warner


More information about the freebsd-arch mailing list