Re: [PATCH 7/7] exec: Rename flush_old_exec begin_new_exec

From: Kees Cook
Date: Tue May 05 2020 - 17:30:11 EST


On Tue, May 05, 2020 at 02:46:01PM -0500, Eric W. Biederman wrote:
>
> 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.
>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook