diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-05-03 14:54:10 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-05-07 23:55:47 +0200 |
commit | 2388777a0a5957a10b3d78677216530a9b3bd09f (patch) | |
tree | 8b1c0c2c346e39f9af285f29a46bc5abd4450f6d /fs/binfmt_flat.c | |
parent | exec: Move most of setup_new_exec into flush_old_exec (diff) | |
download | linux-2388777a0a5957a10b3d78677216530a9b3bd09f.tar.xz linux-2388777a0a5957a10b3d78677216530a9b3bd09f.zip |
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>
Diffstat (limited to 'fs/binfmt_flat.c')
-rw-r--r-- | fs/binfmt_flat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index 252878969582..9b82bc111d0a 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -534,7 +534,7 @@ static int load_flat_file(struct linux_binprm *bprm, /* Flush all traces of the currently running executable */ if (id == 0) { - ret = flush_old_exec(bprm); + ret = begin_new_exec(bprm); if (ret) goto err; |