make /dev/pci really readable
gurney_j at efn.org
Mon Jun 16 22:08:45 PDT 2003
M. Warner Losh wrote this message on Mon, Jun 16, 2003 at 22:52 -0600:
> 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.
I'm not talking about -r... and anyways, I have fixed part of the
problem with unaligned reads/writes which has been posted to this
> You can get the same information that pciconf -l does by going through
> the alternative interface of devinfo.
So, I hear you proposing to remove pciconf and the /dev/pci interface?
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-arch