summaryrefslogtreecommitdiffstats
path: root/Documentation/hid
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-06-26 00:06:54 +0200
committerAlex Williamson <alex.williamson@redhat.com>2013-06-26 00:06:54 +0200
commit6d6768c61b39a2184bc11bb0342e4f7f35642bcc (patch)
tree504f88a65c5ad214086ae2e3edff7bd4efcb548f /Documentation/hid
parentvfio/type1: Fix missed frees and zero sized removes (diff)
downloadlinux-6d6768c61b39a2184bc11bb0342e4f7f35642bcc.tar.xz
linux-6d6768c61b39a2184bc11bb0342e4f7f35642bcc.zip
vfio: Limit group opens
vfio_group_fops_open attempts to limit concurrent sessions by disallowing opens once group->container is set. This really doesn't do what we want and allow for inconsistent behavior, for instance a group can be opened twice, then a container set giving the user two file descriptors to the group. But then it won't allow more to be opened. There's not much reason to have the group opened multiple times since most access is through devices or the container, so complete what the original code intended and only allow a single instance. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'Documentation/hid')
0 files changed, 0 insertions, 0 deletions