From: Jesse Barnes Date: Fri, 24 Oct 2008 17:32:33 +0000 (-0700) Subject: PCI: check mmap range of /proc/bus/pci files too X-Git-Tag: v2.6.29-rc1~181^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eff02e2042f96fb2aedd02e032eca1c5333d767;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed