-
Jesse Barnes authored
/proc/bus/pci allows you to mmap resource ranges too, so we should probably be checking to make sure the mapping is somewhat valid. Uses the same code as the recent sysfs mmap range checking patch from Linus. Acked-by:
David Miller <davem@davemloft.net> Signed-off-by:
Jesse Barnes <jbarnes@virtuousgeek.org>
9eff02e2Jesse Barnes authored/proc/bus/pci allows you to mmap resource ranges too, so we should probably be checking to make sure the mapping is somewhat valid. Uses the same code as the recent sysfs mmap range checking patch from Linus. Acked-by:
David Miller <davem@davemloft.net> Signed-off-by:
Jesse Barnes <jbarnes@virtuousgeek.org>
Loading