summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-02-24 04:29:17 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-21 02:29:51 +0100
commit19e5109fef2c368ab3f8a5157270f87f4a7c0326 (patch)
tree31142f922de19cedfe45f0caa660a6d58674d8cc /fs/binfmt_flat.c
parenttrim includes in inode.c (diff)
downloadlinux-19e5109fef2c368ab3f8a5157270f87f4a7c0326.tar.xz
linux-19e5109fef2c368ab3f8a5157270f87f4a7c0326.zip
take removal of PF_FORKNOEXEC to flush_old_exec()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_flat.c')
-rw-r--r--fs/binfmt_flat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 68affab88146..04f61f0bdfde 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -902,7 +902,6 @@ static int load_flat_binary(struct linux_binprm * bprm, struct pt_regs * regs)
libinfo.lib_list[j].start_data:UNLOADED_LIB;
install_exec_creds(bprm);
- current->flags &= ~PF_FORKNOEXEC;
set_binfmt(&flat_format);