2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/media
Trent Piepho 52ebc763d8 V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only
The direct register access ioctls were defined as kernel internal only,
but they are very useful for debugging hardware from userspace and are
used as such.  Officially export them.

VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER 
Definition of ioctl and struct v4l2_register is moved from v4l2-common.h 
to videodev2.h.

Types used in struct v4l2_register are changed to the userspace 
exportable versions (u32 -> __u32, etc). 

Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move 
the check into the video_ioctl2() dispatcher so it doesn't need to be 
duplicated in each driver's call-back function. CAP_SYS_ADMIN check is 
added to pvrusb2 (which doesn't use video_ioctl2).

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21 13:34:55 -02:00
..
common V4L/DVB (5070): Budget-ci: add support for the Technotrend 1500 bundled remote 2007-02-21 13:34:20 -02:00
dvb V4L/DVB (5142): M920x: move filter caps from device caps to adapter caps 2007-02-21 13:34:54 -02:00
radio [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
video V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
Kconfig V4L/DVB (4871): Fix i2c dependencies of VIDEO_TVEEPROM and VIDEO_TUNER 2006-12-10 09:05:07 -02:00
Makefile [PATCH] dvb: avoid building empty built-in.o 2005-09-09 13:57:36 -07:00