Skip to content

Misc helper patches for pid namespaces

[email protected] containers lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 3 repliesIn review
  2. v15 patches 3 repliesSuperseded

Changelog from the cover letter

- Addressed Oleg Nesterov's comments on [V1] of this patchset.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Define and use task_active_pid_ns() wrapperfs/exec.c fs/proc/proc_misc.c include/linux/pid_namespace.h +3 more+15 -80 replies
2/5Rename child_reaper() functionfs/exec.c include/linux/pid_namespace.h kernel/exit.c +1 more+5 -50 replies
3/5Use task_pid() to find leader's pidfs/exec.c+1 -10 replies
4/5Define is_global_init() and is_container_init()arch/alpha/mm/fault.c arch/arm/mm/fault.c arch/arm26/mm/fault.c +29 more+54 -372 replies
5/5Move alloc_pid() to copy_process()kernel/fork.c+13 -61 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [PATCH 0/5][V2] Misc helper patches for pid namespaces

Some helper patches to support multiple pid namespaces. These were posted earlier on Containers@ mailing list.

[PATCH 1/5] Define and use task_active_pid_ns() wrapper [PATCH 2/5] Rename child_reaper() function. [PATCH 3/5] Use task_pid() to find leader's pid [PATCH 4/5] Define is_global_init() and is_container_init(). [PATCH 5/5] Move alloc_pid() to copy_process()

Changelog:

- Addressed Oleg Nesterov's comments on [V1] of this patchset.