- 08 2月, 2006 1 次提交
-
-
由 Al Viro 提交于
* compat_alloc_user_space() returns __user pointer * copying between two userland areas is copy_in_user(), not copy_from_user() * dereferencing userland pointers is bad * so's get_user() from local variables ... plus usual __user annotations Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
-
- 12 1月, 2006 1 次提交
-
-
由 Guy Martin 提交于
- Adds suppport or fix support for VIDIOC_ENUMSTD, VIDIOC_ENUMINPUT, VIDIOC_G_TUNER and VIDIOC_S_TUNER. - Fix the warnings at compile time and add checks for the pointer validity using access_ok(). - v4l_print_ioctl() has also be added to identify possible missing ioctls. - Has been tested on sparc64 and amd64. Other arches such as mips and hppa are expected to work as sparc, but not tested yet. Signed-off-by: NGuy Martin <gmsoft@tuxicoman.be> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
-
- 10 1月, 2006 8 次提交
-
-
由 Guy Martin 提交于
- There is a bug in the ioctl translations from 32bit userspace to 64bit kernelspace in do_set_window(). - The video window (vw) should be passed to native_ioctl() instead of the video clip. Signed-off-by: NGuy Martin <gmsoft@tuxicoman.be> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Philippe De Muyter 提交于
- This patch fixes merge and typo problems in v4l2/compat, and fixes VIDIOC_STREAMON, VIDIOC_STREAMOFF & VIDIOC_S_FBUF. Signed-off-by: NPhilippe De Muyter <phdm@macqel.be> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Philippe De Muyter 提交于
- Adds 32-bit compatibility for v4l2 framegrabber ioctls. Signed-off-by: NPhilippe De Muyter <phdm@macqel.be> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Hans Verkuil 提交于
- 64-bit fixes for removing warnings on compat_ioctl32. Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Mishal Pytasz 提交于
- Another build fix for compat_ioctl32.c Signed-off-by: NNickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Nickolay V. Shmyrev 提交于
- More build fixes for compat_ioctl32.c Signed-off-by: NNickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Ricardo Cerqueira 提交于
- Compat_ioctl32 license fix Signed-off-by: NRicardo Cerqueira <v4l@cerqueira.org> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-
由 Arnd Bergmann 提交于
This moves the 32 bit ioctl compatibility handlers for Video4Linux into a new file and adds explicit calls to them to each v4l device driver. Unfortunately, there does not seem to be any code handling the v4l2 ioctls, so quite often the code goes through two separate conversions, first from 32 bit v4l to 64 bit v4l, and from there to 64 bit v4l2. My patch does not change that, so there is still much room for improvement. Also, some drivers have additional ioctl numbers, for which the conversion should be handled internally to that driver. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
-