exec: Trivial cleanups for exec
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 11 May 2020 17:10:25 +0000 (12:10 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 11 May 2020 17:12:22 +0000 (12:12 -0500)
commit27e68f086393b34ada9d5e2bb255f74abe7dc19a
tree5b6a67f79400fd6868e5debdc16dfa1811f40225
parentb213c2dcbcbc138d111f150e13317ea50002cab5
parent6834e0bb41bbe144d42b8cd843f3ee30bfe2c825
exec: Trivial cleanups for exec

This is a continuation of my work to clean up exec so it's more
difficult problems are approachable.

The changes correct some comments, and moves the point_of_no_return
variable up to when the point_of_no_return actually occurs.

Eric W. Biederman (5):
      exec: Move the comment from above de_thread to above unshare_sighand
      exec: Fix spelling of search_binary_handler in a comment
      exec: Run sync_mm_rss before taking exec_update_mutex
      exec: Move handling of the point of no return to the top level
      exec: Set the point of no return sooner

 fs/exec.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

Link: https://lkml.kernel.org/r/87sgga6ze4.fsf@x220.int.ebiederm.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>