Messages in this thread | | | From | David Mosberger <> | Date | Wed, 27 Nov 2002 00:46:13 -0800 | Subject | Re: [PATCH] Start of compat32.h (again) |
| |
>>>>> 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 most compatibility syscalls go straight to the 64-bit syscall handlers. You're probably hosed anyhow if a 64-bit syscall returns, say, 0x1ffffffff, but on ia64 I'd still rather play it safe and consistently have all compatibility syscalls return a 64-bit sign-extended value like all other syscall handlers ("least surprise" principle).
--david - 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/
| |