summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-02-23 09:21:31 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-12 04:24:31 +0200
commita555ad450f973528825201a5fedbe46374f86644 (patch)
tree693c68515fb05210c87c5dea011564f8a3b132ae /arch/nios2
parentremove incorrect comment in lookup_one_len() (diff)
downloadlinux-a555ad450f973528825201a5fedbe46374f86644.tar.xz
linux-a555ad450f973528825201a5fedbe46374f86644.zip
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>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/kernel/process.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/nios2/kernel/process.c b/arch/nios2/kernel/process.c
index 0e075b5ad2a5..2f8c74f93e70 100644
--- a/arch/nios2/kernel/process.c
+++ b/arch/nios2/kernel/process.c
@@ -94,7 +94,6 @@ void show_regs(struct pt_regs *regs)
void flush_thread(void)
{
- set_fs(USER_DS);
}
int copy_thread(unsigned long clone_flags,