summaryrefslogtreecommitdiff
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2020-05-03 14:48:17 +0300
committerEric W. Biederman <ebiederm@xmission.com>2020-05-08 00:55:47 +0300
commit96ecee29b0b560662ec082ee9b6f2049f2a79090 (patch)
tree96d03c2e68da53a482ee126b9363b67cad0ee8dd /fs/binfmt_elf_fdpic.c
parent1507b7a30ad284a2a136ee79c214c0e86c62da64 (diff)
downloadlinux-96ecee29b0b560662ec082ee9b6f2049f2a79090.tar.xz
exec: Merge install_exec_creds into setup_new_exec
The two functions are now always called one right after the other so merge them together to make future maintenance easier. Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r--fs/binfmt_elf_fdpic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index 6c94c6d53d97..9a1aa61b4cc3 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -353,7 +353,6 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm)
current->personality |= READ_IMPLIES_EXEC;
setup_new_exec(bprm);
- install_exec_creds(bprm);
set_binfmt(&elf_fdpic_format);