[PATCH 1/3] x86: set_personality_ia32() misses force_personality32

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Tuesday, February 16, 2010 - 7:02 am

05d43ed8a "x86: get rid of the insane TIF_ABI_PENDING bit" forgot
about force_personality32, fix.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
---

 arch/x86/kernel/process_64.c |    1 +
 1 file changed, 1 insertion(+)

--- exec/arch/x86/kernel/process_64.c~1_force_personality32	2010-01-31 13:57:24.000000000 +0100
+++ exec/arch/x86/kernel/process_64.c	2010-02-16 13:26:34.000000000 +0100
@@ -527,6 +527,7 @@ void set_personality_ia32(void)
 
 	/* Make sure to be in 32bit mode */
 	set_thread_flag(TIF_IA32);
+	current->personality |= force_personality32;
 
 	/* Prepare the first "return" to user space */
 	current_thread_info()->status |= TS_COMPAT;

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Mon Feb 15, 9:17 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 9:23 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Mon Feb 15, 9:50 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 11:06 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Mon Feb 15, 11:52 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 12:07 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 12:10 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Roland McGrath, (Mon Feb 15, 12:41 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 1:07 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, H. Peter Anvin, (Mon Feb 15, 1:43 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Roland McGrath, (Mon Feb 15, 2:05 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Roland McGrath, (Mon Feb 15, 2:14 pm)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Oleg Nesterov, (Tue Feb 16, 3:19 am)
Re: x86: get rid of the insane TIF_ABI_PENDING bit, Andi Kleen, (Tue Feb 16, 3:23 am)
[PATCH 1/3] x86: set_personality_ia32() misses force_perso ..., Oleg Nesterov, (Tue Feb 16, 7:02 am)
[PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, Oleg Nesterov, (Tue Feb 16, 7:02 am)
Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, H. Peter Anvin, (Tue Feb 16, 10:38 am)
Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, H. Peter Anvin, (Tue Feb 16, 10:51 am)
Re: [PATCH 2/3] x86: set_personality_ia32() abuses TS_COMPAT, Linus Torvalds, (Tue Feb 16, 11:43 am)
[tip:x86/urgent] x86: set_personality_ia32() misses force_ ..., tip-bot for Oleg Nes ..., (Tue Feb 16, 4:27 pm)