|
@@ -1083,7 +1083,8 @@ int flush_old_exec(struct linux_binprm * bprm)
|
|
bprm->mm = NULL; /* We're using it now */
|
|
bprm->mm = NULL; /* We're using it now */
|
|
|
|
|
|
set_fs(USER_DS);
|
|
set_fs(USER_DS);
|
|
- current->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD);
|
|
|
|
|
|
+ current->flags &=
|
|
|
|
+ ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD | PF_NOFREEZE);
|
|
flush_thread();
|
|
flush_thread();
|
|
current->personality &= ~bprm->per_clear;
|
|
current->personality &= ~bprm->per_clear;
|
|
|
|
|