[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100217202312.GQ21783@one.firstfloor.org>
Date: Wed, 17 Feb 2010 21:23:12 +0100
From: Andi Kleen <andi@...stfloor.org>
To: "Dr. David Alan Gilbert" <linux@...blig.org>
Cc: Andi Kleen <andi@...stfloor.org>,
"Nikita V. Youshchenko" <yoush@...msu.su>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Extended error reporting to user space?
> I'd wondered about some form of halfway house where the error
> value is expanded but could be truncated for compatibility - i.e.
Who would do the truncation?
> if at the moment we had:
>
> return -EINVAL;
>
> it would become:
>
> return ERRORNUM(EINVAL, BADLENGTH);
x86 only has about 12 bits in the current ABI btw.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists