commit | 9eff02e2042f96fb2aedd02e032eca1c5333d767 | [log] [tgz] |
---|---|---|
author | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Oct 24 10:32:33 2008 -0700 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Jan 07 11:12:20 2009 -0800 |
tree | 677e78d73f420b69f06e839729e29c6e2a8720b5 | |
parent | ede6f5aea054d3fb67c78857f7abdee602302043 [diff] |
PCI: check mmap range of /proc/bus/pci files too /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>