summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@qumranet.com>2008-08-13 16:22:37 +0300
committerAvi Kivity <avi@qumranet.com>2008-10-15 10:15:20 +0200
commit6762b7299aa115e11815decd1fd982d015f09615 (patch)
tree3973aab788f7f1d75377aa2aa78dc0014354c6f5 /include/linux
parentdc7404cea34ef997dfe89ca94d16358e9d29c8d8 (diff)
KVM: Device assignment: Check for privileges before assigning irq
Even though we don't share irqs at the moment, we should ensure regular user processes don't try to allocate system resources. We check for capability to access IO devices (CAP_SYS_RAWIO) before we request_irq on behalf of the guest. Noticed by Avi. Signed-off-by: Amit Shah <amit.shah@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions