exec: Rename flush_old_exec begin_new_exec
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 3 May 2020 12:54:10 +0000 (07:54 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 7 May 2020 21:55:47 +0000 (16:55 -0500)
commit2388777a0a5957a10b3d78677216530a9b3bd09f
tree8b1c0c2c346e39f9af285f29a46bc5abd4450f6d
parentdf9e4d2c4a53503a97fc08eeebdc04e3c11b4618
exec: Rename flush_old_exec begin_new_exec

There is and has been for a very long time been a lot more going on in
flush_old_exec than just flushing the old state.  After the movement
of code from setup_new_exec there is a whole lot more going on than
just flushing the old executables state.

Rename flush_old_exec to begin_new_exec to more accurately reflect
what this function does.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Documentation/trace/ftrace.rst
arch/x86/ia32/ia32_aout.c
fs/binfmt_aout.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/binfmt_flat.c
fs/exec.c
include/linux/binfmts.h