diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-09 11:20:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-09 11:20:24 -0300 |
commit | 6d6a42d7314489a738b7a0d9d9ed7801de07476b (patch) | |
tree | 629accd8889effc6d48ec7cff93931a43b90d749 /linux/include | |
parent | 6e7f488a79d3ba3c4ee10c3164b7e02deee26179 (diff) | |
download | mediapointer-dvb-s2-6d6a42d7314489a738b7a0d9d9ed7801de07476b.tar.gz mediapointer-dvb-s2-6d6a42d7314489a738b7a0d9d9ed7801de07476b.tar.bz2 |
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/videodev2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index 1b76d3e9a..2995bf836 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -592,7 +592,7 @@ struct v4l2_framebuffer struct v4l2_clip { struct v4l2_rect c; - struct v4l2_clip *next; + struct v4l2_clip __user *next; }; struct v4l2_window |