Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



-----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()

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?

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSnEoCMpnzkX8Yg2nAQIn7AgAusRLcSOxcysycbXRtPlj3ahZl+QFngRq
CLg3gC2HRONhSXgofbqvXYHITNf9cO9AMSQSz5RP4SMlaV0O2k+DxmB+BZdS5QiA
bzYu9LTLPBR1dyfyPjSGaiVgWlk9Ix70cTsa47l7WnsfWf8vAYkbor+TjlC6V41D
/k9pPaSci0ZnNxI78kPzQVClCPjLf1DRBmKw8ZnxFpWXtrhOBti2kQPsauqZBnF3
zU23tEbjhPb6XIblqv1lDM2PU+lyHGjC7cf63w8aBcZn37CZSfNCCXu1/R18lu/B
nv4tnzd9HVg1CquKTDIVhApRSAq/+AoT0OH4dZZgvySGGcswKus2Fg==
=knQf
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index