Re: [PATCH V2] Keep 3 high personality bytes across exec

2008-06-30 Thread Paul Mackerras
Eric B Munson writes: --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h @@ -257,7 +257,8 @@ do { \ else\ clear_thread_flag(TIF_ABI_PENDING);

Re: [PATCH V2] Keep 3 high personality bytes across exec

2008-06-30 Thread Eric B Munson
On Mon, 30 Jun 2008, Paul Mackerras wrote: Eric B Munson writes: --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h @@ -257,7 +257,8 @@ do { \ else\

[PATCH V2] Keep 3 high personality bytes across exec

2008-06-27 Thread Eric B Munson
Currently when a 32 bit process is exec'd on a powerpc 64 bit host the value in the top three bytes of the personality is clobbered. This patch adds a check in the SET_PERSONALITY macro that will carry all the values in the top three bytes across the exec. These three bytes currently carry flags

[RFC PATCH V2] Keep 3 high personality bytes across exec

2008-06-18 Thread Eric B Munson
Currently when a 32 bit process is exec'd on a powerpc 64 bit host the value in the top three bytes of the personality is clobbered. This patch adds a check in the SET_PERSONALITY macro that will carry all the values in the top three bytes across the exec. These three bytes currently carry flags