On Friday, September 10, 2010 2:55:15 am [email protected] wrote: > Gareth de Vaux <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
