summaryrefslogtreecommitdiff
path: root/fs/binfmt_som.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-02-24 07:29:17 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-21 05:29:51 +0400
commit19e5109fef2c368ab3f8a5157270f87f4a7c0326 (patch)
tree31142f922de19cedfe45f0caa660a6d58674d8cc /fs/binfmt_som.c
parente59cc473cc603d562f2c80c12c943ef2a8cde6b2 (diff)
downloadlinux-19e5109fef2c368ab3f8a5157270f87f4a7c0326.tar.xz
take removal of PF_FORKNOEXEC to flush_old_exec()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_som.c')
-rw-r--r--fs/binfmt_som.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/binfmt_som.c b/fs/binfmt_som.c
index ec15972dd98a..e4fc746629a7 100644
--- a/fs/binfmt_som.c
+++ b/fs/binfmt_som.c
@@ -225,7 +225,6 @@ load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
goto out_free;
/* OK, This is the point of no return */
- current->flags &= ~PF_FORKNOEXEC;
current->personality = PER_HPUX;
setup_new_exec(bprm);