| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Nov. 26, 2012, 4:59 p.m. |
| Message ID | <1353949160-26803-256-git-send-email-herton.krzesinski@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/201986/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/exec.c b/fs/exec.c index e95aeed..8726a93 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -1110,7 +1110,8 @@ 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_FORKNOEXEC | PF_KTHREAD); + current->flags &= + ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD | PF_NOFREEZE); flush_thread(); current->personality &= ~bprm->per_clear;