[GIT PULL] VFIO fixes for v4.10-rc4
From: Alex Williamson
Date: Fri Jan 13 2017 - 15:24:18 EST
Hi Linus,
The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8:
Linux 4.10-rc3 (2017-01-08 14:18:17 -0800)
are available in the git repository at:
git://github.com/awilliam/linux-vfio.git tags/vfio-v4.10-rc4
for you to fetch changes up to 94a6fa899d2cb5ee76933406df32996576a562e4:
vfio/type1: Remove pid_namespace.h include (2017-01-13 08:23:33 -0700)
----------------------------------------------------------------
VFIO fixes for v4.10-rc4
- Cleanups and bug fixes for the mtty sample driver (Dan Carpenter)
- Export and make use of has_capability() to fix incorrect use of
ns_capable() for testing task capabilities (Jike Song)
----------------------------------------------------------------
Alex Williamson (1):
vfio/type1: Remove pid_namespace.h include
Dan Carpenter (3):
vfio-mdev: return -EFAULT if copy_to_user() fails
vfio-mdev: buffer overflow in ioctl()
vfio-mdev: remove some dead code
Jike Song (2):
capability: export has_capability
vfio iommu type1: fix the testing of capability for remote task
drivers/vfio/vfio_iommu_type1.c | 4 +---
kernel/capability.c | 1 +
samples/vfio-mdev/mtty.c | 23 ++++++++++++++++-------
3 files changed, 18 insertions(+), 10 deletions(-)