diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-23 22:29:17 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:51 -0400 |
commit | 19e5109fef2c368ab3f8a5157270f87f4a7c0326 (patch) | |
tree | 31142f922de19cedfe45f0caa660a6d58674d8cc /fs/exec.c | |
parent | e59cc473cc603d562f2c80c12c943ef2a8cde6b2 (diff) |
take removal of PF_FORKNOEXEC to flush_old_exec()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1110,7 +1110,7 @@ int flush_old_exec(struct linux_binprm * bprm) | |||
1110 | bprm->mm = NULL; /* We're using it now */ | 1110 | bprm->mm = NULL; /* We're using it now */ |
1111 | 1111 | ||
1112 | set_fs(USER_DS); | 1112 | set_fs(USER_DS); |
1113 | current->flags &= ~(PF_RANDOMIZE | PF_KTHREAD); | 1113 | current->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD); |
1114 | flush_thread(); | 1114 | flush_thread(); |
1115 | current->personality &= ~bprm->per_clear; | 1115 | current->personality &= ~bprm->per_clear; |
1116 | 1116 | ||