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

From: Oleg Nesterov
Date: Tue Feb 16 2010 - 09:03:12 EST


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

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
---

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;

--
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/