summaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorLinus Torvalds2016-04-14 21:00:21 +0200
committerLinus Torvalds2016-04-14 21:56:09 +0200
commitab0fa82b2df96ddadb327ac39f26b5d80cb3d104 (patch)
tree087b6c1be81d9312d12011d4eee852a740b25f16 /kernel/resource.c
parentMake file credentials available to the seqfile interfaces (diff)
downloadkernel-qcow2-linux-ab0fa82b2df96ddadb327ac39f26b5d80cb3d104.tar.gz
kernel-qcow2-linux-ab0fa82b2df96ddadb327ac39f26b5d80cb3d104.tar.xz
kernel-qcow2-linux-ab0fa82b2df96ddadb327ac39f26b5d80cb3d104.zip
pci-sysfs: use proper file capability helper function
The PCI config access checked the file capabilities correctly, but used the itnernal security capability check rather than the helper function that is actually meant for that. The security_capable() has unusual return values and is not meant to be used elsewhere (the only other use is in the capability checking functions that we actually intend people to use, and this odd PCI usage really stood out when looking around the capability code. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions