-
- Downloads
[media] v4l2: put VIDIOC_DBG_G_CHIP_NAME under ADV_DEBUG
Only enable this ioctl if the VIDEO_ADV_DEBUG config option is set. This prevents abuse from both userspace and kernelspace (some bridge drivers abuse DBG_G_CHIP_IDENT, lets prevent that from happening again with this ioctl). Signed-off-by:Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
Showing
- Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml 3 additions, 0 deletionsDocumentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml
- drivers/media/usb/em28xx/em28xx-video.c 2 additions, 2 deletionsdrivers/media/usb/em28xx/em28xx-video.c
- drivers/media/v4l2-core/v4l2-dev.c 1 addition, 1 deletiondrivers/media/v4l2-core/v4l2-dev.c
- drivers/media/v4l2-core/v4l2-ioctl.c 4 additions, 4 deletionsdrivers/media/v4l2-core/v4l2-ioctl.c
- include/media/v4l2-ioctl.h 3 additions, 3 deletionsinclude/media/v4l2-ioctl.h
Loading
Please register or sign in to comment