Re: [x86-64] ioctl32 for USB

From: Andi Kleen
Date: Mon Jun 26 2006 - 07:48:10 EST


Piotr Kaczuba <pepe@xxxxxxxxxxxxx> writes:

> Hello!
>
> I'm running a 64-bit kernel and 32-bit userspace. There seems to be some
> unimplemented compability ioctls regarding USB. Dmesg shows the
> following:
>
> [184966.543022] ioctl32(hald-probe-hidd:10760): Unknown cmd fd(4)
> cmd(81004806){01} arg(ffb52dd0) on /dev/usb/hiddev0
>
> and
>
> [50974.410204] ioctl32(vmware-vmx:3470): Unknown cmd fd(140)
> cmd(40109980){00} arg(ffb551a0) on /proc/bus/usb/002/001
>
> Have it been only forgotten or are there other more serious reasons that
> these ioctls are missing?

Some of the USB ioctls were basically impossible to compat due to
broken design. Maybe it's now possible with is_compat_task,
but would be still extremly ugly.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/