commit | 19e5109fef2c368ab3f8a5157270f87f4a7c0326 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Feb 23 22:29:17 2012 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 20 21:29:51 2012 -0400 |
tree | 31142f922de19cedfe45f0caa660a6d58674d8cc | |
parent | e59cc473cc603d562f2c80c12c943ef2a8cde6b2 [diff] [blame] |
take removal of PF_FORKNOEXEC to flush_old_exec() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/exec.c b/fs/exec.c index 2c5ae33..60478a0 100644 --- a/fs/exec.c +++ b/fs/exec.c
@@ -1110,7 +1110,7 @@ bprm->mm = NULL; /* We're using it now */ set_fs(USER_DS); - current->flags &= ~(PF_RANDOMIZE | PF_KTHREAD); + current->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD); flush_thread(); current->personality &= ~bprm->per_clear;