diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-27 08:04:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-14 19:45:23 -0300 |
commit | cd634f1bfc182e564f33809fdca33027bb99fceb (patch) | |
tree | e81c3b626866a64b8152576cb500ee2fc2fe40a0 /Documentation | |
parent | dfc2e12df02d49a1567bc90989ceef870cf5b147 (diff) | |
download | linux-cd634f1bfc182e564f33809fdca33027bb99fceb.tar.bz2 |
[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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml b/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml index 4921346fabd7..5fce8d84288e 100644 --- a/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml +++ b/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-name.xml @@ -63,6 +63,9 @@ card. Regular applications must not use it. When you found a chip specific bug, please contact the linux-media mailing list (&v4l-ml;) so it can be fixed.</para> + <para>Additionally the Linux kernel must be compiled with the +<constant>CONFIG_VIDEO_ADV_DEBUG</constant> option to enable this ioctl.</para> + <para>To query the driver applications must initialize the <structfield>match.type</structfield> and <structfield>match.addr</structfield> or <structfield>match.name</structfield> |