WSL2-Linux-Kernel/drivers/staging/rspiusb
vibi sreenivasan 7a80bfcd1f Staging: rspiusb: copy_to/from_user related fixes
The patch does copy_to/from_user related fixes

*) __copy_from/to_user is enough for user space data buffer checked by access_ok.
*) return -EFAULT if __copy_from/to_user fails.
*) Do not use memcpy to copy from user space.

Signed-off-by: Vibi Sreenivasan <vibi_sreenivasan@cms.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-06-19 11:00:54 -07:00
..
Kconfig Staging: add princeton instruments usb camera driver 2009-01-06 13:52:34 -08:00
Makefile Staging: add princeton instruments usb camera driver 2009-01-06 13:52:34 -08:00
TODO Staging: add princeton instruments usb camera driver 2009-01-06 13:52:34 -08:00
rspiusb.c Staging: rspiusb: copy_to/from_user related fixes 2009-06-19 11:00:54 -07:00
rspiusb.h Staging: rspiusb: clean rspiusb code 2009-06-19 11:00:54 -07:00