Skip to content

exec: Trivial cleanups for exec

Eric W. Biederman linux-fsdevel linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6exec: Move the comment from above de_thread to above unshare_sighandfs/exec.c+6 -61 reply
2/6exec: Fix spelling of search_binary_handler in a commentfs/exec.c+1 -11 reply
3/6exec: Stop open coding mutex_lock_killable of cred_guard_mutexfs/exec.c kernel/ptrace.c+5 -44 replies
4/6exec: Run sync_mm_rss before taking exec_update_mutexfs/exec.c+2 -12 replies
5/6exec: Move handling of the point of no return to the top levelfs/exec.c+12 -92 replies
6/6exec: Set the point of no return soonerfs/exec.c+5 -71 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKees CookCasey SchauflerJames Morris
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b A-b R-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] 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, stop open coding mutex_lock_killable, and move the point_of_no_return variable up to when the point_of_no_return actually occurs.

I don't think there is anything controversial in there but if you see something please let me know.

Eric W. Biederman (6):
exec: Move the comment from above de_thread to above unshare_sighand
exec: Fix spelling of search_binary_handler in a comment
exec: Stop open coding mutex_lock_killable of cred_guard_mutex
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       | 51 +++++++++++++++++++++++++++------------------------
 kernel/ptrace.c |  4 ++--
 2 files changed, 29 insertions(+), 26 deletions(-)