diff --git a/fs/exec.c b/fs/exec.c index 97e0d52..31df75f 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -1093,7 +1093,6 @@ int flush_old_exec(struct linux_binprm * bprm) bprm->mm = NULL; /* We're using it now */ - set_fs(USER_DS); current->flags &= ~(PF_RANDOMIZE | PF_KTHREAD); flush_thread(); current->personality &= ~bprm->per_clear;