]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 24 Mar 2015 21:19:18 +0000 (17:19 -0400)
commitbe63b69616fe1c6c4f6fb545094e97ff3a2745cf
treec2bd8c0aeb62086599fe6cbc27dcc174f4727d86
parent0f7afcd874b3bb6efc6c0999e52a3b7df87ff789
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