diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-27 07:04:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-14 18:45:23 -0400 |
commit | cd634f1bfc182e564f33809fdca33027bb99fceb (patch) | |
tree | e81c3b626866a64b8152576cb500ee2fc2fe40a0 /Documentation/DocBook | |
parent | dfc2e12df02d49a1567bc90989ceef870cf5b147 (diff) |
[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/DocBook')
-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 | |||
63 | specific bug, please contact the linux-media mailing list (&v4l-ml;) | 63 | specific bug, please contact the linux-media mailing list (&v4l-ml;) |
64 | so it can be fixed.</para> | 64 | so it can be fixed.</para> |
65 | 65 | ||
66 | <para>Additionally the Linux kernel must be compiled with the | ||
67 | <constant>CONFIG_VIDEO_ADV_DEBUG</constant> option to enable this ioctl.</para> | ||
68 | |||
66 | <para>To query the driver applications must initialize the | 69 | <para>To query the driver applications must initialize the |
67 | <structfield>match.type</structfield> and | 70 | <structfield>match.type</structfield> and |
68 | <structfield>match.addr</structfield> or <structfield>match.name</structfield> | 71 | <structfield>match.addr</structfield> or <structfield>match.name</structfield> |