Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / fs / binfmt_elf_fdpic.c
index 429326b6e2e7088dc1c67c770122beb7b004152b..d90993adeffa3d19186bcb50aeb85110bf971a7f 100644 (file)
@@ -463,6 +463,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm)
                            dynaddr);
 #endif
 
+       finalize_exec(bprm);
        /* everything is now ready... get the userspace context ready to roll */
        entryaddr = interp_params.entry_addr ?: exec_params.entry_addr;
        start_thread(regs, entryaddr, current->mm->start_stack);