[PATCH 0/2] pci: refer to LSM when accessing device dependent config space

From: Chris Wright
Date: Thu Feb 10 2011 - 01:12:31 EST


Short patch series to make sure LSM gets visibility into attempt to
access device dependent config space. Fixes a buglet I introduced in
de139a3 ("pci: check caps from sysfs file open to read device dependent
config space")

Chris Wright (2):
security: add cred argument to security_capable()
pci: use security_capable() when checking capablities during config
space read

drivers/pci/pci-sysfs.c | 3 ++-
include/linux/security.h | 6 +++---
kernel/capability.c | 2 +-
security/security.c | 5 ++---
4 files changed, 8 insertions(+), 8 deletions(-)

--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/