Prev: [PATCH 0/3] Was: x86: get rid of the insane TIF_ABI_PENDING bit
Next: vfs: don't call ima_file_check() unconditionally in nfsd_open()
From: Oleg Nesterov on 16 Feb 2010 09:10 05d43ed8a "x86: get rid of the insane TIF_ABI_PENDING bit" forgot about force_personality32, fix. Signed-off-by: Oleg Nesterov <oleg(a)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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |