From: Ben Hutchings Date: Tue, 1 Jul 2008 16:18:17 +0000 (+0100) Subject: PCI: Restrict VPD read permission to root X-Git-Tag: v2.6.26-rc9~68^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94c248113b86bbbc47d027a4004b70f2be298b1;p=pandora-kernel.git PCI: Restrict VPD read permission to root Some PCI devices will lock up if we attempt to read from VPD addresses beyond some device-dependent limit. Until we can identify these devices and adjust the file size accordingly, only let root read VPD through sysfs to prevent a DoS by normal users. Signed-off-by: Ben Hutchings Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed