diff options
| author | Michael Buesch <mb@bu3sch.de> | 2009-07-29 11:39:03 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-16 14:19:06 -0700 |
| commit | 128b24b2c26360981bc9e92e190a622d24a47af5 (patch) | |
| tree | a6d5f3327522388cd156f562e2f4882907e683a6 /include/linux/debugobjects.h | |
| parent | 3fbb95c9e3a18649a7d52f37f6150d2ce8545aa3 (diff) | |
USB: devio: Properly do access_ok() checks
commit 18753ebc8a98efe0e8ff6167afb31cef220c8e50 upstream.
access_ok() checks must be done on every part of the userspace structure
that is accessed. If access_ok() on one part of the struct succeeded, it
does not imply it will succeed on other parts of the struct. (Does
depend on the architecture implementation of access_ok()).
This changes the __get_user() users to first check access_ok() on the
data structure.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
