From: Chris Wright Date: Thu, 10 Feb 2011 23:58:56 +0000 (-0800) Subject: pci: use security_capable() when checking capablities during config space read X-Git-Tag: v2.6.38-rc5~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47970b1b2aa64464bc0a9543e86361a622ae7c03;p=pandora-kernel.git pci: use security_capable() when checking capablities during config space read Eric Paris noted that commit de139a3 ("pci: check caps from sysfs file open to read device dependent config space") caused the capability check to bypass security modules and potentially auditing. Rectify this by calling security_capable() when checking the open file's capabilities for config space reads. Reported-by: Eric Paris Signed-off-by: Chris Wright Signed-off-by: James Morris --- Reading git-diff-tree failed