VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
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 parent: e59cc473cc603d562f2c80c12c943ef2a8cde6b2
Commit Summary:
take removal of PF_FORKNOEXEC to flush_old_exec()
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c
index a543364ba29b..4d5e6d26578c 100644
--- a/fs/binfmt_aout.c
+++ b/fs/binfmt_aout.c
@@ -267,7 +267,6 @@ static int load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs)
 	}
 
 	install_exec_creds(bprm);
- 	current->flags &= ~PF_FORKNOEXEC;
 
 	if (N_MAGIC(ex) == OMAGIC) {
 		unsigned long text_addr, map_size;