ioctl32: Unknown cmd

Andi Kleen andi at firstfloor.org
Wed Oct 17 10:25:20 EST 2007


David Miller <davem at davemloft.net> writes:

> From: Arnd Bergmann <arnd at arndb.de>
> Date: Tue, 16 Oct 2007 21:50:35 +0200
> 
> > The one point where it is expected to have changed now is when you
> > try to do these ioctls on something that is not a block device. Are
> > you sure that the files you tried them on were created correctly?
> 
> Many many many programs do this exact sort of thing.
> 
> It is one of the bad aspects of moving the compat handling
> down into the file ops for a specific device.

When this happens one should add respective IGNORE_IOCTL()s to 
compat_ioctl.c

-Andi



More information about the Linuxppc-dev mailing list