Age | Commit message (Collapse) | Author |
|
* 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: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Guy Martin <gmsoft@tuxicoman.be>
- 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: Guy Martin <gmsoft@tuxicoman.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- 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: Guy Martin <gmsoft@tuxicoman.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
From: Philippe De Muyter <phdm@macqel.be>
- This patch fixes merge and typo problems in v4l2/compat, and fixes
VIDIOC_STREAMON, VIDIOC_STREAMOFF & VIDIOC_S_FBUF.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
kernel-sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
From: Philippe De Muyter <phdm@macqel.be>
adds 32-bit compatibility for v4l2 framegrabber ioctls.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
From:
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: MishalĂ… Pytasz <pytasz@lodz.home.pl>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
From: Axel Thimm <Axel.Thimm@ATrpms.net>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
From:
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
|
|
- included compat_ioctl32.c, to handle 64 -> 32 bits compat ioctls
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|