MSIX failure
John Baldwin
jhb at freebsd.org
Fri Sep 10 12:00:27 UTC 2010
On Friday, September 10, 2010 2:55:15 am perryh at pluto.rain.com wrote:
> Gareth de Vaux <bsd at lordcow.org> wrote:
>
> > On Thu 2010-09-09 (16:54), Kurt Jaeger wrote:
> > > -c asks for pci device capabilities, which are read in
> > >
> > > /usr/src/usr.sbin/pciconf/pciconf.c:177 with O_RDWR
> >
> > Ah. I'll have to schedule a reboot then ..
>
> or hack on pciconf.c to not request more permission than it needs.
> It is arguably a bug to open O_RDWR when only examining things.
You have to have RDWR permission to issue the ioctl to read config
registers which pciconf does when examining capabilities.
--
John Baldwin
More information about the freebsd-stable
mailing list