x86: fix broken TASK_SIZE for ia32_aout

Setting TIF_IA32 in load_aout_binary() used to be enough; these days
TASK_SIZE is controlled by TIF_ADDR32 and that one doesn't get set
there. Switch to use of set_personality_ia32()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds ce7e5d2d 03cb00b3

Changed files
+1 -2
arch
x86
+1 -2
arch/x86/ia32/ia32_aout.c
··· 294 294 295 295 /* OK, This is the point of no return */ 296 296 set_personality(PER_LINUX); 297 - set_thread_flag(TIF_IA32); 298 - current->mm->context.ia32_compat = 1; 297 + set_personality_ia32(false); 299 298 300 299 setup_new_exec(bprm); 301 300