[RFC/PATCH 0/3] compat_ioctl support for custom ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

Here's an RFC patch set that implements compat_ioctl support in V4L2 for custom
ioctls. While trying to support the UVCIOC_* ioctls with a 32-bit userspace and
a 64-bit kernel, I realized this wasn't possible due to missing support in the
V4L2 core.

Laurent Pinchart (3):
  v4l: Add custom compat_ioctl operation
  uvcvideo: Return -ENOTTY in case of unknown ioctl
  uvcvideo: Implement compat_ioctl for custom ioctls

 drivers/media/video/uvc/uvc_v4l2.c        |  207 ++++++++++++++++++++++++++++-
 drivers/media/video/v4l2-compat-ioctl32.c |   13 ++-
 include/media/v4l2-dev.h                  |    3 +
 3 files changed, 219 insertions(+), 4 deletions(-)

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux