Michael wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On Jul 30, 2009, at 12:38 AM, Michael Lorenz wrote:Module Name: src Committed By: macallan Date: Thu Jul 30 04:38:25 UTC 2009 Modified Files: src/sys/dev/pci: pci_usrreq.c Log Message:do as elad suggested and call kauth instead of using INSECURE in pcimmap()
Thanks!
This reminds me - shouldn't ioctl()s that write BARs get the same protection? Or at least check if the fd has been opened with write permission?
Yep -- if you could outline the relevant ioctls and/or take care of it it'd be a lot of help. :) Thanks again, -e.