dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/usb/mon
Pete Zaitcev 7abce6bedc USB: usbmon: Implement compat_ioctl
Running a 32-bit usbmon(8) on 2.6.28-rc9 produces the following:
ioctl32(usbmon:28563): Unknown cmd fd(3) cmd(400c9206){t:ffffff92;sz:12} arg(ffd3f458) on /dev/usbmon0

It happens because the compatibility mode was implemented for 2.6.18
and not updated for the fsops.compat_ioctl API.

This patch relocates the pieces from under #ifdef CONFIG_COMPAT into
compat_ioctl with no other changes except one new whitespace.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-27 16:15:36 -08:00
..
Kconfig USB: Allow usbmon as a module even if usbcore is builtin 2009-01-07 09:59:54 -08:00
Makefile USB: Allow usbmon as a module even if usbcore is builtin 2009-01-07 09:59:54 -08:00
mon_bin.c USB: usbmon: Implement compat_ioctl 2009-01-27 16:15:36 -08:00
mon_dma.c USB: add binary API to usbmon 2007-02-07 15:44:34 -08:00
mon_main.c usbmon: fix tiny race exposed by the fastboot patches 2008-10-17 14:40:57 -07:00
mon_stat.c USB: usbmon: use simple_read_from_buffer() 2008-07-21 15:16:31 -07:00
mon_text.c SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
usb_mon.h USB: reorganize urb->status use in usbmon 2007-10-12 14:55:23 -07:00