Re: unregister_ioctl32_conversion and modules. ioctl32 revisited.

From: Chris Wedgwood
Date: Sun Dec 26 2004 - 17:29:25 EST


On Thu, Dec 16, 2004 at 05:06:08AM +0100, Andi Kleen wrote:

> > But what if you really wanted to return -ENOIOCTLCMD?
>
> It's an internal error code as Arnd pointed out.

can we be sure this will never escape to userspace? i can think of
somewhere else we already do this (EFSCORRUPTED) and it does (somewhat
deliberately escape to userspace) and this causes confusion from time
to time when applications see 'errno == 990'

-
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/