Subject: Re: ioctl32: Unknown cmd

From: Andi Kleen <[email-masked]>
Date: 17 Oct 2007 02:25:20 +0200

David Miller <[email-masked]> writes:

> From: Arnd Bergmann <[email-masked]>
> 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