Re: Extended error reporting to user space?
From: Andi Kleen
Date: Wed Feb 17 2010 - 15:23:20 EST
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/