Skip to content

in_exec/etc cleanups

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4check_unsafe_exec: use while_each_thread() rather than next_thread()fs/exec.c+2 -13 replies
2/4check_unsafe_exec: kill the dead -EAGAIN and clear_in_exec logicfs/exec.c+8 -214 replies
3/4exec: move the final allow_write_access/fput into free_bprm()fs/exec.c+5 -152 replies
4/4kill task_struct->did_execfs/exec.c include/linux/sched.h kernel/fork.c +1 more+2 -63 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKOSAKI MotohiroKees Cook
1/4A-b
2/4A-b
3/4A-b A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] in_exec/etc cleanups

Hello.

Initially I was going to make a single patch (1/4) as a preparation for the next changes, but imho this code needs cleanups. The patches do not depend on each other, they can be applied individually.

Oleg.

 fs/exec.c             |   53 +++++++++++++-----------------------------------
 include/linux/sched.h |    1 -
 kernel/fork.c         |    1 -
 kernel/sys.c          |    5 +--
 4 files changed, 17 insertions(+), 43 deletions(-)