Messages in this thread | | | Date | Sun, 26 Dec 2004 14:26:53 -0800 | From | Chris Wedgwood <> | Subject | Re: unregister_ioctl32_conversion and modules. ioctl32 revisited. |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |