Skip to content

pid namespace infrastructure cleanups

Eric W. Biederman containers 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pidns: Remove the child_reaper special case from de_thread.fs/exec.c include/linux/pid_namespace.h init/main.c +2 more+13 -180 replies
1/4signal: Introduce kill_pid_ns_infoinclude/linux/sched.h kernel/pid_namespace.c kernel/signal.c+43 -301 reply
2/4proc: Simplify proc_get_sb.fs/proc/root.c+1 -162 replies
2/4pid: Make next_pidmap static againinclude/linux/pid.h kernel/pid.c+1 -20 replies
3/4proc: Remove the unnecessary global proc_mntfs/proc/inode.c fs/proc/root.c include/linux/proc_fs.h+2 -60 replies
3/4Fix the indentation in cap_set_all to use tabs.kernel/capability.c+17 -170 replies
4/4pid: Move all of the pid_namespace logic into copy_pid_ns.include/linux/pid_namespace.h kernel/fork.c kernel/nsproxy.c +1 more+37 -171 reply
4/4pid: Limit cap_set_all to the current pid namespacekernel/capability.c+11 -40 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchPavel Emelyanov
1/4A-b
1/4A-b
2/4
2/4
3/4
3/4
4/4
4/4

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] pid namespace infrastructure cleanups

These next 4 patches are just generally nice cleanups to the pid namespace infrastructure. There is a slight context dependence on the previous patchset but nothing fundamental.

These patches remove yet another special case from de_thread. Remove special cases from proc_get_sb
Kill proc_mnt
Move the pid_namespace logic out of the fork fast path.

Just generally making those code paths much nicer to live with.

Eric