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/binfmt_elf_fdpic.c | |
parent | e59cc473cc603d562f2c80c12c943ef2a8cde6b2 (diff) | |
download | linux-exynos-19e5109fef2c368ab3f8a5157270f87f4a7c0326.tar.gz linux-exynos-19e5109fef2c368ab3f8a5157270f87f4a7c0326.tar.bz2 linux-exynos-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_elf_fdpic.c')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index e7afcb67a2d3..c64bf5ee2df4 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c @@ -335,8 +335,6 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, current->mm->context.exec_fdpic_loadmap = 0; current->mm->context.interp_fdpic_loadmap = 0; - current->flags &= ~PF_FORKNOEXEC; - #ifdef CONFIG_MMU elf_fdpic_arch_lay_out_mm(&exec_params, &interp_params, @@ -414,7 +412,6 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, #endif install_exec_creds(bprm); - current->flags &= ~PF_FORKNOEXEC; if (create_elf_fdpic_tables(bprm, current->mm, &exec_params, &interp_params) < 0) goto error_kill; |