Skip to content

Core pid namespace enhancements

Eric W. Biederman containers 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sig: Fix mqueue pidipc/mqueue.c+1 -11 reply
2/9sig: Fix SI_USER si_pidkernel/signal.c+2 -20 replies
3/9pid: Implement ns_of_pid.include/linux/pid.h+11 -04 replies
4/9pid: Generalize task_active_pid_nsinclude/linux/pid_namespace.h kernel/fork.c kernel/pid.c+9 -63 replies
5/9pid: Update pid_vnr to use task_active_pid_nskernel/pid.c+1 -12 replies
6/9pid: Implement pid_in_pid_ns.include/linux/pid.h kernel/pid.c+9 -01 reply
7/9sig: Handle pid namespace crossing when sending signals.drivers/char/tty_io.c include/linux/signal.h ipc/mqueue.c +2 more+63 -420 replies
8/9signal: Drop signals before sending them to init.kernel/signal.c+38 -913 replies
9/9signal: Ignore signals sent to the pid namespace initkernel/signal.c+15 -917 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchPavel EmelyanovSerge Hallyn
1/9A-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9A-b
9/9A-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/9] Core pid namespace enhancements

The following patchset updates the pid namespace infrastructure so we don't constantly have to worry if we have been called before or after exit_task_namespaces, by using the pid_namespace obtained from a processes pid, handles the general case of setting si_pid in struct sig_info, changes where we drop signals sent to init, and enhances that changes to also work with the per namespace init.

Thus resolving most of the big gotchas with the current pid namespace implementation.

Eric