aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-12-27 09:14:52 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:17:12 -0500
commit1035758d5bdcd6c2f7308a35185f1d6f3b6b5443 (patch)
treedc7645dff1afe87671add84315b4d24982fa0b71 /Documentation
parent0334c8a52a8578f7aef501a14f78004f931efe20 (diff)
[media] feature_removal_schedule.txt: mark VIDIOC_*_OLD ioctls to die
There are some old broken definitions of ioctl's, where the read/write arguments were marked wrong. The last one were added on 2.6.6 kernel. Remove them, in order to cleanup some copy_from_user/copy_to_user logic done inside V4L core. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/feature-removal-schedule.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index e348b7e241f1..f2742e115b09 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -112,6 +112,27 @@ Who: Mauro Carvalho Chehab <mchehab@infradead.org>
112 112
113--------------------------- 113---------------------------
114 114
115What: Video4Linux: Remove obsolete ioctl's
116When: kernel 2.6.39
117Files: include/media/videodev2.h
118Why: Some ioctl's were defined wrong on 2.6.2 and 2.6.6, using the wrong
119 type of R/W arguments. They were fixed, but the old ioctl names are
120 still there, maintained to avoid breaking binary compatibility:
121 #define VIDIOC_OVERLAY_OLD _IOWR('V', 14, int)
122 #define VIDIOC_S_PARM_OLD _IOW('V', 22, struct v4l2_streamparm)
123 #define VIDIOC_S_CTRL_OLD _IOW('V', 28, struct v4l2_control)
124 #define VIDIOC_G_AUDIO_OLD _IOWR('V', 33, struct v4l2_audio)
125 #define VIDIOC_G_AUDOUT_OLD _IOWR('V', 49, struct v4l2_audioout)
126 #define VIDIOC_CROPCAP_OLD _IOR('V', 58, struct v4l2_cropcap)
127 There's no sense on preserving those forever, as it is very doubtful
128 that someone would try to use a such old binary with a modern kernel.
129 Removing them will allow us to remove some magic done at the V4L ioctl
130 handler.
131
132Who: Mauro Carvalho Chehab <mchehab@infradead.org>
133
134---------------------------
135
115What: sys_sysctl 136What: sys_sysctl
116When: September 2010 137When: September 2010
117Option: CONFIG_SYSCTL_SYSCALL 138Option: CONFIG_SYSCTL_SYSCALL