Re: [PATCH] Start of compat32.h (again)

Andi Kleen (ak@muc.de)
Wed, 27 Nov 2002 10:01:13 +0100


On Wed, Nov 27, 2002 at 09:46:13AM +0100, David Mosberger wrote:
> >>>>> On Wed, 27 Nov 2002 09:29:18 +0100, Andi Kleen <ak@muc.de> said:
>
> Andi> But the 32bit user space surely doesn't care about any garbage
> Andi> in the upper 32bits, no ?
>
> The user-space won't, but the kernel exit path might. Remember that

True. The signal return path checking for the 5xx errnos expects
them to be 64bit extended. I now even vaguely remember an obscure bug I once
saw on x86-64 with an 32bit application actually seeing ERESTARTSYS that might
just have been caused by such an issue.

Thanks for pointing that out.
-Andi
-
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/