Too verbose compat_ioctl messages?

Jeremy Fitzhardinge jeremy at goop.org
Sat Jul 7 04:33:43 EST 2007


Andi Kleen wrote:
> "H. Peter Anvin" <hpa at zytor.com> writes:
>   
>> For one thing, it looks like we're returning the wrong thing (EINVAL
>> rather than ENOTTY) across the board.  This was unfortunately a common
>> misunderstanding with non-tty-related ioctls in the early days of Linux.
>>     
>
> ENOTTY is so excessively misnamed that it is actually surprising
> anybody ever got that "right" (for very small values of right i guess)
>   

But it *isn't* a typewriter.  Of course, it's not a giraffe either.

    J



More information about the Linuxppc-dev mailing list