kernel/fork: factor out replacing the current MM exe_file
Let's factor the main logic out into replace_mm_exe_file(), such that all mm->exe_file logic is contained in kernel/fork.c. While at it, perform some simple cleanups that are possible now that we're simplifying the individual functions. Acked-by:Christian Brauner <christian.brauner@ubuntu.com> Acked-by:
"Eric W. Biederman" <ebiederm@xmission.com> Acked-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
David Hildenbrand <david@redhat.com>
Showing
Please register or sign in to comment