Revert "pci: use security_capable() when checking capablities during config space...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Feb 2011 15:50:50 +0000 (07:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Feb 2011 15:50:50 +0000 (07:50 -0800)
This reverts commit 47970b1b2aa64464bc0a9543e86361a622ae7c03.

It turns out it breaks several distributions.  Looks like the stricter
selinux checks fail due to selinux policies not being set to allow the
access - breaking X, but also lspci.

So while the change was clearly the RightThing(tm) to do in theory, in
practice we have backwards compatibility issues making it not work.

Reported-by: Dave Young <hidave.darkstar@gmail.com>
Acked-by: David Airlie <airlied@linux.ie>
Acked-by: Alex Riesen <raa.lkml@gmail.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found