diff options
author | Oleg Nesterov <oleg@redhat.com> | 2010-02-16 14:02:13 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-16 16:50:28 (GMT) |
commit | 1252f238db48ec419f40c1bdf30fda649860eed9 (patch) | |
tree | df6613e6ef803cf5c0dfc56c2356427b08af3207 /arch | |
parent | 0813e22d4e0d618eac9b47bec942bf856adca4c5 (diff) | |
download | linux-fsl-qoriq-1252f238db48ec419f40c1bdf30fda649860eed9.tar.xz |
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 <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/process_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 41a26a8..126f0b4 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; |