author: Kees Cook <keescook@chromium.org> 2018-04-10 16:34:57 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-04-11 10:28:37 -0700
commit: b83838313386f617d6bd8201be7f5b532059bba1
parent: 8f2af155b513583e8b149a384551f13e1ac5dc72
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index 429326b6e2e7..d90993adeffa 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -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);