diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-05-03 13:48:17 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-05-07 23:55:47 +0200 |
commit | 96ecee29b0b560662ec082ee9b6f2049f2a79090 (patch) | |
tree | 96d03c2e68da53a482ee126b9363b67cad0ee8dd /arch/x86/ia32 | |
parent | exec: Rename the flag called_exec_mmap point_of_no_return (diff) | |
download | linux-96ecee29b0b560662ec082ee9b6f2049f2a79090.tar.xz linux-96ecee29b0b560662ec082ee9b6f2049f2a79090.zip |
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 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/ia32_aout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index 37b36a8ce5fa..8255fdc3a027 100644 --- a/arch/x86/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c @@ -140,7 +140,6 @@ static int load_aout_binary(struct linux_binprm *bprm) set_personality_ia32(false); setup_new_exec(bprm); - install_exec_creds(bprm); regs->cs = __USER32_CS; regs->r8 = regs->r9 = regs->r10 = regs->r11 = regs->r12 = |