projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0813e22
)
x86: set_personality_ia32() misses force_personality32
author
Oleg Nesterov
<oleg@redhat.com>
Tue, 16 Feb 2010 14:02:13 +0000
(15:02 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 16 Feb 2010 16:50:28 +0000
(08:50 -0800)
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>
arch/x86/kernel/process_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/process_64.c
b/arch/x86/kernel/process_64.c
index 41a26a82470ad3970721bd2c3a00c6987b3f2d1c..126f0b493d049f0e0393d9c5c58d2ebb43fd25fd 100644
(file)
--- 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;