]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/binfmt_elf_fdpic.c
tg3: Rename tg3 phy ID preprocessor definitions
[net-next-2.6.git] / fs / binfmt_elf_fdpic.c
index c57d9ce5ff7ef85605786fc26200b3fe76df93df..18d77297ccc8ae470a12078d496e7519e443d012 100644 (file)
@@ -321,6 +321,9 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm,
        set_personality(PER_LINUX_FDPIC);
        if (elf_read_implies_exec(&exec_params.hdr, executable_stack))
                current->personality |= READ_IMPLIES_EXEC;
+
+       setup_new_exec(bprm);
+
        set_binfmt(&elf_fdpic_format);
 
        current->mm->start_code = 0;