From: Oleg Nesterov Date: Tue, 16 Feb 2010 14:02:13 +0000 (+0100) Subject: x86: set_personality_ia32() misses force_personality32 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1252f238db48ec419f40c1bdf30fda649860eed9;p=openwrt%2Fstaging%2Fblogic.git x86: set_personality_ia32() misses force_personality32 05d43ed8a "x86: get rid of the insane TIF_ABI_PENDING bit" forgot about force_personality32. Fix. Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds --- diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 41a26a82470a..126f0b493d04 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -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;