diff options
author | 2008-07-01 17:18:17 +0100 | |
---|---|---|
committer | 2008-07-01 09:51:53 -0700 | |
commit | a94c248113b86bbbc47d027a4004b70f2be298b1 (patch) | |
tree | b33c29082b1294287bb45f95730f87db002fba98 /drivers/usb/class/cdc-acm.c | |
parent | Linux 2.6.26-rc8 (diff) | |
download | wireguard-linux-a94c248113b86bbbc47d027a4004b70f2be298b1.tar.xz wireguard-linux-a94c248113b86bbbc47d027a4004b70f2be298b1.zip |
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 <bhutchings@solarflare.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions