[PATCH] drivers/media/video __user annotations and fixes
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 10:24:20 +0000 (05:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 06:03:39 +0000 (01:03 -0500)
commit5b1a43d7df65689b4c3b5a1c5c8158f1d4f74fbd
tree651e2320ff4633507243cf2e353d9ba6b8017cc1
parentde125bf395df34892862d76580ce3a153e80f151
[PATCH] drivers/media/video __user annotations and fixes

* 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>
drivers/media/video/compat_ioctl32.c
include/linux/videodev2.h