summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_aout.c
diff options
context:
space:
mode:
authorAlex Elder <aelder@sgi.com>2010-02-26 21:34:02 +0100
committerAlex Elder <aelder@sgi.com>2010-02-26 21:34:02 +0100
commit398007f863a4af2b4a5a07219c5a617f1a098115 (patch)
tree7589f17bfa6645ee0342048bfaede1391a411f2b /fs/binfmt_aout.c
parentfs/xfs: Correct NULL test (diff)
parentLinux 2.6.33 (diff)
downloadlinux-398007f863a4af2b4a5a07219c5a617f1a098115.tar.xz
linux-398007f863a4af2b4a5a07219c5a617f1a098115.zip
Merge branch 'linux-2.6.33'
Diffstat (limited to 'fs/binfmt_aout.c')
-rw-r--r--fs/binfmt_aout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c
index 346b69405363..fdd397099172 100644
--- a/fs/binfmt_aout.c
+++ b/fs/binfmt_aout.c
@@ -264,6 +264,7 @@ static int load_aout_binary(struct linux_binprm * bprm, struct pt_regs * regs)
#else
set_personality(PER_LINUX);
#endif
+ setup_new_exec(bprm);
current->mm->end_code = ex.a_text +
(current->mm->start_code = N_TXTADDR(ex));