mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-05 12:43:09 +09:00
x86: set_personality_ia32() misses force_personality32
commit1252f238dbupstream.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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d283dafb0d
commit
aa004fb34a
@@ -546,6 +546,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;
|
||||
|
||||
Reference in New Issue
Block a user