whack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 23 Feb 2015 08:21:31 +0000 (03:21 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Apr 2015 02:24:31 +0000 (22:24 -0400)
commita555ad450f973528825201a5fedbe46374f86644
tree693c68515fb05210c87c5dea011564f8a3b132ae
parent9e7543e9398ddd9679fbc81748a3e62eff4ab105
whack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread()

flush_old_exec() has already done that.  Back on 2011 a bunch of
instances like that had been kicked out, but that hadn't taken
care of then-out-of-tree architectures, obviously, and they served
as reinfection vector...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arc/kernel/process.c
arch/c6x/kernel/process.c
arch/hexagon/kernel/process.c
arch/metag/include/asm/processor.h
arch/nios2/kernel/process.c
arch/openrisc/kernel/process.c