Thread (8 messages) flat view 8 messages, 4 authors, 2007-07-06

Re: Too verbose compat_ioctl messages?

From: Andi Kleen <hidden>
Date: 2007-07-06 19:05:21
Also in: lkml

On Fri, Jul 06, 2007 at 11:33:43AM -0700, Jeremy Fitzhardinge wrote:
Andi Kleen wrote:
quoted
"H. Peter Anvin" [off-list ref] writes:
 
quoted
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. 
Most ioctls are not related to ttys in any way.

-Andi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help