Re: [PATCH x86_64]: Setup PER_LINUX32 on x86_64
From: Andi Kleen
Date: Tue Nov 02 2004 - 09:14:02 EST
"Jin, Gordon" <gordon.jin@xxxxxxxxx> writes:
> On x86_64, PER_LINUX32 is not setup but used by syscall personality and uname.
> This patch sets PER_LINUX32 when x86 binary loaded so it can be used correctly.
> - Set personality to PER_LINUX32 when x86 binary loaded.
> - Set personality to PER_LINUX when x86_64 binary loaded.
> - Use sys32_personality instead of sys_personality.
> - Add sys32_newuname() for syscall newuname.
> - Remove the unnecessary check for PER_LINUX32 in sys_uname().
Rejected. This was separated intentionally. Otherwise
e.g. you can never get x86_64 out of uname with a 32bit uname.
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/