From: Rusty Russell Date: Sat, 13 Jun 2009 04:26:58 +0000 (-0600) Subject: lguest: be paranoid about guest playing with device descriptors. X-Git-Tag: v2.6.31-rc1~368^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=713b15b3781240653d2b38414da3f4567dcbcf91;p=pandora-kernel.git lguest: be paranoid about guest playing with device descriptors. We can't trust the values in the device descriptor table once the guest has booted, so keep local copies. They could set them to strange values then cause us to segv (they're 8 bit values, so they can't make our pointers go too wild). This becomes more important with the following patches which read them. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed