summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-07-29 11:39:03 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-08-07 16:05:12 -0700
commit18753ebc8a98efe0e8ff6167afb31cef220c8e50 (patch)
tree7c2d95b3758acf4cf3b42aec04d284ae67de1647 /arch/arm/mach-omap2/usb-musb.c
parent49276560c9004fce24c42e3c0ad75f34d956fc63 (diff)
downloadblackbird-op-linux-18753ebc8a98efe0e8ff6167afb31cef220c8e50.tar.gz
blackbird-op-linux-18753ebc8a98efe0e8ff6167afb31cef220c8e50.zip
USB: devio: Properly do access_ok() checks
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: stable <stable@kernel.org> Cc: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud