Nested pid namespaces support

Submitted by Kirill Tkhai on March 24, 2017, 2:55 p.m.

Details

Reviewer None
Submitted March 24, 2017, 2:55 p.m.
Last Updated May 6, 2017, 5:12 a.m.
Revision 11

Cover Letter

Hi,

this is the fifth version of the patchset. There were
deleted the hunks, which made pstree halpers without
CLONE_FILES. See [2-6/42] for the details.

---

Kirill Tkhai (42):
      pstree: Implement free_pstree_item() helper
      ns: Do not change net_ns in prepare_net_namespaces()
      mnt: Put root fd to fdstore
      pstree: Change type of init_pstree_helper() and check for parent
      files: Make possible task helpers to use shared_fdt_prepare()
      cr-restore: Open transport socket earlier
      zdtm: Add pidns00 test
      zdtm: Add pidns01 test
      pid_ns: Implement pid_ns_root_off()
      pstree: Change arguments in parse_pid_status()
      pstree: Introduce PID_SIZE() helper
      pstree: Use thread group leader level of pid to allocate threads
      pstree: Move thread allocation up and do cleanup
      pstree: Pre-dump ns ids before tasks
      pstree: Collect NSpid, NSsid and NStgid when possible
      pstree: Skip zombie dumping tricks if there is kdat.has_nspid
      zombie: Kill by last_level_pid, not by vpid
      images: Add NSpids pstree descriptions
      pstree: Dump and restore NSpid, NSsid etc
      pstree: Make get_free_pid() work for different pid_ns and export it
      pstree: Extract __pstree_item_by_virt() to act on any pid_ns
      ns: Reserve pid_ns helpers
      restore: Implement set_next_pid() helper
      pid: Always lock last pid file on clone()
      pid: Add fdstore id for pid_ns descriptor
      fdstore: Init fdstore earlier
      pid: Save created pid_ns fd to fdstore
      ns: Always start usernsd
      pid: Add pid ns futex helper_created
      ns: Install transport fd socket in usernsd
      cr-restore: Add argument to criu_signals_setup()
      ns: Add usernsd signal handler
      pid: Create pid_ns helpers
      pid: Wait till pid_ns created before we create a child of this ns
      pid: Set pid_ns before we create a child
      pid_ns: Set user_ns before creation of pid_ns
      pid: Teach set_next_pid() working with nested pid_ns
      restorer: Close transport socket later
      restorer: Set NStids in all pid_ns for thread before we create it.
      pid: Check for equality of getpid() of child to last_level_pid
      pstree: Use CLONE_NEWPID only to create child reaper of pid_ns
      ns: Nested pid_ns support


 criu/cr-dump.c                |   56 +++++-
 criu/cr-restore.c             |  356 ++++++++++++++++++++++++++++++++++-------
 criu/files-reg.c              |    6 -
 criu/files.c                  |   20 +-
 criu/include/namespaces.h     |   17 ++
 criu/include/proc_parse.h     |    3 
 criu/include/pstree.h         |   22 ++-
 criu/include/restore.h        |    3 
 criu/include/restorer.h       |    6 +
 criu/mount.c                  |   19 +-
 criu/namespaces.c             |  359 +++++++++++++++++++++++++++++++++++++++++
 criu/net.c                    |   16 +-
 criu/ns-common.c              |   51 ++++++
 criu/pie/restorer.c           |   50 ++++--
 criu/proc_parse.c             |   81 +++++++++
 criu/pstree.c                 |  259 ++++++++++++++++++++++--------
 criu/seize.c                  |   41 +++--
 criu/sk-unix.c                |   11 +
 images/pstree.proto           |   17 +-
 test/zdtm/static/Makefile     |    2 
 test/zdtm/static/pidns00.c    |  205 +++++++++++++++++++++++
 test/zdtm/static/pidns00.desc |    1 
 test/zdtm/static/pidns01.c    |  164 +++++++++++++++++++
 test/zdtm/static/pidns01.desc |    1 
 test/zdtm/static/tun.desc     |    2 
 25 files changed, 1558 insertions(+), 210 deletions(-)
 create mode 100644 criu/ns-common.c
 create mode 100644 test/zdtm/static/pidns00.c
 create mode 100644 test/zdtm/static/pidns00.desc
 create mode 100644 test/zdtm/static/pidns01.c
 create mode 100644 test/zdtm/static/pidns01.desc

--
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
  

Revisions

SERIES REVISION IS NOT COMPLETE. We've got 25 out of 55 expected patches.

Patches download mbox

# Name Submitter State
[v1,01/55] user_ns: Close pid proc in create_user_ns_hierarhy_fn() Kirill Tkhai New
[v1,02/55] ns: Pack functionality of storing ns fd to store_self_ns() Kirill Tkhai New
[v1,03/55] user_ns: Keep root_user_ns ns fd in fdstore Kirill Tkhai New
[v1,04/55] ns: Fix wrong opened net ns file Kirill Tkhai New
[v1,05/55] zdtm: Add proc-self01 test Kirill Tkhai New
[v1,06/55] net: Do not change net_ns of root_item in create_net_ns() Kirill Tkhai New
[v1,07/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[v1,08/55] zdtm: Add pidns00 test Kirill Tkhai New
[v1,09/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v1,10/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v1,11/55] pid: Add equel_pid() helper Kirill Tkhai New
[v1,12/55] pid: Add last_level_pid() helper Kirill Tkhai New
[v1,13/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v1,14/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v1,15/55] pid: Alloc threads dynamically Kirill Tkhai New
[v1,16/55] pid: Pass thread pid to caller Kirill Tkhai New
[v1,17/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v1,18/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v1,19/55] pid: Add top_pid_ns Kirill Tkhai New
[v1,20/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[v1,21/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v1,22/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v1,23/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v1,24/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v1,25/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[RESEND,v1,01/55] user_ns: Close pid proc in create_user_ns_hierarhy_fn() Kirill Tkhai New
[RESEND,v1,02/55] ns: Pack functionality of storing ns fd to store_self_ns() Kirill Tkhai New
[RESEND,v1,03/55] user_ns: Keep root_user_ns ns fd in fdstore Kirill Tkhai New
[RESEND,v1,04/55] ns: Fix wrong opened net ns file Kirill Tkhai New
[RESEND,v1,05/55] zdtm: Add proc-self01 test Kirill Tkhai New
[RESEND,v1,06/55] net: Do not change net_ns of root_item in create_net_ns() Kirill Tkhai New
[RESEND,v1,07/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[RESEND,v1,08/55] zdtm: Add pidns00 test Kirill Tkhai New
[RESEND,v1,09/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[RESEND,v1,10/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[RESEND,v1,11/55] pid: Add equel_pid() helper Kirill Tkhai New
[RESEND,v1,12/55] pid: Add last_level_pid() helper Kirill Tkhai New
[RESEND,v1,13/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[RESEND,v1,14/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[RESEND,v1,15/55] pid: Alloc threads dynamically Kirill Tkhai New
[RESEND,v1,16/55] pid: Pass thread pid to caller Kirill Tkhai New
[RESEND,v1,17/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[RESEND,v1,18/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[RESEND,v1,19/55] pid: Add top_pid_ns Kirill Tkhai New
[RESEND,v1,20/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[RESEND,v1,21/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[RESEND,v1,22/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[RESEND,v1,23/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[RESEND,v1,24/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[RESEND,v1,25/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[RESEND,v1,26/55] pstree: Split lookup_create_pid() Kirill Tkhai New
[RESEND,v1,27/55] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[RESEND,v1,28/55] ns: Add MAX_NS_NESTING Kirill Tkhai New
[RESEND,v1,29/55] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[RESEND,v1,30/55] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[RESEND,v1,31/55] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[RESEND,v1,32/55] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[RESEND,v1,33/55] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[RESEND,v1,34/55] images: Add NSpids pstree descriptions Kirill Tkhai New
[RESEND,v1,35/55] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[RESEND,v1,36/55] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[RESEND,v1,37/55] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[RESEND,v1,38/55] ns: Reserve pid_ns helpers Kirill Tkhai New
[RESEND,v1,39/55] restore: Implement set_next_pid() helper Kirill Tkhai New
[RESEND,v1,40/55] pid: Always lock last pid file on clone() Kirill Tkhai New
[RESEND,v1,41/55] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[RESEND,v1,42/55] fdstore: Init fdstore earlier Kirill Tkhai New
[RESEND,v1,43/55] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[RESEND,v1,44/55] ns: Always start usernsd Kirill Tkhai New
[RESEND,v1,45/55] pid: Add pid ns futex helper_created Kirill Tkhai New
[RESEND,v1,46/55] ns: Install transport fd socket in usernsd Kirill Tkhai New
[RESEND,v1,47/55] pid: Create pid_ns helpers Kirill Tkhai New
[RESEND,v1,48/55] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[RESEND,v1,49/55] pid: Set pid_ns before we create a child Kirill Tkhai New
[RESEND,v1,50/55] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[RESEND,v1,51/55] restorer: Close transport socket later Kirill Tkhai New
[RESEND,v1,52/55] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[RESEND,v1,53/55] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[RESEND,v1,54/55] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[RESEND,v1,55/55] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v2,01/57] user_ns: Close pid proc in create_user_ns_hierarhy_fn() Kirill Tkhai New
[v2,02/57] ns: Pack functionality of storing ns fd to store_self_ns() Kirill Tkhai New
[v2,03/57] user_ns: Keep root_user_ns ns fd in fdstore Kirill Tkhai New
[v2,04/57] ns: Fix wrong opened net ns file Kirill Tkhai New
[v2,05/57] zdtm: Add proc-self01 test Kirill Tkhai New
[v2,06/57] net: Do not change net_ns of root_item in create_net_ns() Kirill Tkhai New
[v2,07/57] cr-restore: Open transport socket earlier Kirill Tkhai New
[v2,08/57] zdtm: Add pidns00 test Kirill Tkhai New
[v2,09/57] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v2,10/57] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v2,11/57] pid: Add equel_pid() helper Kirill Tkhai New
[v2,12/57] pid: Add last_level_pid() helper Kirill Tkhai New
[v2,13/57] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v2,14/57] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v2,15/57] pid: Alloc threads dynamically Kirill Tkhai New
[v2,16/57] pid: Pass thread pid to caller Kirill Tkhai New
[v2,17/57] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v2,18/57] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v2,19/57] pid: Add top_pid_ns Kirill Tkhai New
[v2,20/57] pid: Add ns::pid::rb_root Kirill Tkhai New
[v2,21/57] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v2,22/57] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v2,23/57] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v2,24/57] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v2,25/57] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v2,26/57] pstree: Split lookup_create_pid() Kirill Tkhai New
[v2,27/57] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v2,28/57] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v2,29/57] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v2,30/57] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v2,31/57] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v2,32/57] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v2,33/57] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v2,34/57] images: Add NSpids pstree descriptions Kirill Tkhai New
[v2,35/57] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v2,36/57] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v2,37/57] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v2,38/57] ns: Reserve pid_ns helpers Kirill Tkhai New
[v2,39/57] restore: Implement set_next_pid() helper Kirill Tkhai New
[v2,40/57] pid: Always lock last pid file on clone() Kirill Tkhai New
[v2,41/57] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v2,42/57] fdstore: Init fdstore earlier Kirill Tkhai New
[v2,43/57] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v2,44/57] ns: Always start usernsd Kirill Tkhai New
[v2,45/57] pid: Add pid ns futex helper_created Kirill Tkhai New
[v2,46/57] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v2,47/57] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v2,48/57] ns: Add usernsd signal handler Kirill Tkhai New
[v2,49/57] pid: Create pid_ns helpers Kirill Tkhai New
[v2,50/57] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v2,51/57] pid: Set pid_ns before we create a child Kirill Tkhai New
[v2,52/57] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v2,53/57] restorer: Close transport socket later Kirill Tkhai New
[v2,54/57] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v2,55/57] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v2,56/57] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v2,57/57] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v2,01/57] user_ns: Close pid proc in create_user_ns_hierarhy_fn() Kirill Tkhai New
[v2,02/57] ns: Pack functionality of storing ns fd to store_self_ns() Kirill Tkhai New
[v2,03/57] user_ns: Keep root_user_ns ns fd in fdstore Kirill Tkhai New
[v2,04/57] ns: Fix wrong opened net ns file Kirill Tkhai New
[v2,05/57] zdtm: Add proc-self01 test Kirill Tkhai New
[v2,06/57] net: Do not change net_ns of root_item in create_net_ns() Kirill Tkhai New
[v2,07/57] cr-restore: Open transport socket earlier Kirill Tkhai New
[v2,08/57] zdtm: Add pidns00 test Andrey Vagin New
[v2,09/57] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v2,10/57] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v2,11/57] pid: Add equel_pid() helper Kirill Tkhai New
[v2,12/57] pid: Add last_level_pid() helper Kirill Tkhai New
[v2,13/57] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v2,14/57] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v2,15/57] pid: Alloc threads dynamically Kirill Tkhai New
[v2,16/57] pid: Pass thread pid to caller Kirill Tkhai New
[v2,17/57] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v2,18/57] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v2,19/57] pid: Add top_pid_ns Kirill Tkhai New
[v2,20/57] pid: Add ns::pid::rb_root Kirill Tkhai New
[v2,21/57] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v2,22/57] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v2,23/57] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v2,24/57] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v2,25/57] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v2,26/57] pstree: Split lookup_create_pid() Kirill Tkhai New
[v2,27/57] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v2,28/57] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v2,29/57] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v2,30/57] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v2,31/57] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v2,32/57] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v2,33/57] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v2,34/57] images: Add NSpids pstree descriptions Kirill Tkhai New
[v2,35/57] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v2,36/57] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v2,37/57] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v2,38/57] ns: Reserve pid_ns helpers Kirill Tkhai New
[v2,39/57] restore: Implement set_next_pid() helper Kirill Tkhai New
[v2,40/57] pid: Always lock last pid file on clone() Kirill Tkhai New
[v2,41/57] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v2,42/57] fdstore: Init fdstore earlier Kirill Tkhai New
[v2,43/57] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v2,44/57] ns: Always start usernsd Kirill Tkhai New
[v2,45/57] pid: Add pid ns futex helper_created Kirill Tkhai New
[v2,46/57] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v2,47/57] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v2,48/57] ns: Add usernsd signal handler Kirill Tkhai New
[v2,49/57] pid: Create pid_ns helpers Kirill Tkhai New
[v2,50/57] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v2,51/57] pid: Set pid_ns before we create a child Kirill Tkhai New
[v2,52/57] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v2,53/57] restorer: Close transport socket later Kirill Tkhai New
[v2,54/57] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v2,55/57] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v2,56/57] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v2,57/57] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v3,01/55] ns: Do not change net_ns in prepare_net_namespaces() Kirill Tkhai New
[v3,02/55] mnt: Put root fd to fdstore Kirill Tkhai New
[v3,03/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[v3,04/55] zdtm: Add pidns00 test Kirill Tkhai New
[v3,05/55] zdtm: Add pidns01 test Kirill Tkhai New
[v3,06/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v3,07/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v3,08/55] pid: Add equel_pid() helper Kirill Tkhai New
[v3,09/55] pid: Add last_level_pid() helper Kirill Tkhai New
[v3,10/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v3,11/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v3,12/55] pid: Alloc threads dynamically Kirill Tkhai New
[v3,13/55] pid: Pass thread pid to caller Kirill Tkhai New
[v3,14/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v3,15/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v3,16/55] pid: Add top_pid_ns Kirill Tkhai New
[v3,17/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[v3,18/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v3,19/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v3,20/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v3,21/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v3,22/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v3,23/55] pstree: Split lookup_create_pid() Kirill Tkhai New
[v3,24/55] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v3,25/55] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v3,26/55] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v3,27/55] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v3,28/55] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v3,29/55] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v3,30/55] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v3,31/55] images: Add NSpids pstree descriptions Kirill Tkhai New
[v3,32/55] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v3,33/55] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v3,34/55] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v3,35/55] ns: Reserve pid_ns helpers Kirill Tkhai New
[v3,36/55] restore: Implement set_next_pid() helper Kirill Tkhai New
[v3,37/55] pid: Always lock last pid file on clone() Kirill Tkhai New
[v3,38/55] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v3,39/55] fdstore: Init fdstore earlier Kirill Tkhai New
[v3,40/55] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v3,41/55] ns: Always start usernsd Kirill Tkhai New
[v3,42/55] pid: Add pid ns futex helper_created Kirill Tkhai New
[v3,43/55] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v3,44/55] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v3,45/55] ns: Add usernsd signal handler Kirill Tkhai New
[v3,46/55] pid: Create pid_ns helpers Kirill Tkhai New
[v3,47/55] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v3,48/55] pid: Set pid_ns before we create a child Kirill Tkhai New
[v3,49/55] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai New
[v3,50/55] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v3,51/55] restorer: Close transport socket later Kirill Tkhai New
[v3,52/55] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v3,53/55] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v3,54/55] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v3,55/55] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v3,00/55] Nested pid namespaces support Kirill Tkhai New
[v3,02/55] mnt: Put root fd to fdstore Kirill Tkhai New
[v3,03/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[v3,04/55] zdtm: Add pidns00 test Kirill Tkhai New
[v3,05/55] zdtm: Add pidns01 test Kirill Tkhai New
[v3,06/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v3,07/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v3,08/55] pid: Add equel_pid() helper Kirill Tkhai New
[v3,09/55] pid: Add last_level_pid() helper Kirill Tkhai New
[v3,10/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v3,11/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v3,12/55] pid: Alloc threads dynamically Kirill Tkhai New
[v3,13/55] pid: Pass thread pid to caller Kirill Tkhai New
[v3,14/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v3,15/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v3,16/55] pid: Add top_pid_ns Kirill Tkhai New
[v3,17/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[v3,18/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v3,19/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v3,20/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v3,21/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v3,22/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v3,23/55] pstree: Split lookup_create_pid() Kirill Tkhai New
[v3,24/55] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v3,25/55] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v3,26/55] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v3,27/55] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v3,28/55] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v3,29/55] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v3,30/55] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v3,31/55] images: Add NSpids pstree descriptions Kirill Tkhai New
[v3,32/55] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v3,33/55] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v3,34/55] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v3,35/55] ns: Reserve pid_ns helpers Kirill Tkhai New
[v3,36/55] restore: Implement set_next_pid() helper Kirill Tkhai New
[v3,37/55] pid: Always lock last pid file on clone() Kirill Tkhai New
[v3,38/55] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v3,39/55] fdstore: Init fdstore earlier Kirill Tkhai New
[v3,40/55] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v3,41/55] ns: Always start usernsd Kirill Tkhai New
[v3,42/55] pid: Add pid ns futex helper_created Kirill Tkhai New
[v3,43/55] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v3,44/55] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v3,45/55] ns: Add usernsd signal handler Kirill Tkhai New
[v3,46/55] pid: Create pid_ns helpers Kirill Tkhai New
[v3,47/55] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v3,48/55] pid: Set pid_ns before we create a child Kirill Tkhai New
[v3,49/55] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai New
[v3,50/55] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v3,51/55] restorer: Close transport socket later Kirill Tkhai New
[v3,52/55] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v3,53/55] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v3,54/55] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v3,55/55] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v3,00/55] Nested pid namespaces support Andrey Vagin New
[v3,02/55] mnt: Put root fd to fdstore Kirill Tkhai New
[v3,03/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[v3,04/55] zdtm: Add pidns00 test Kirill Tkhai New
[v3,05/55] zdtm: Add pidns01 test Kirill Tkhai New
[v3,06/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v3,07/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v3,08/55] pid: Add equel_pid() helper Kirill Tkhai New
[v3,09/55] pid: Add last_level_pid() helper Kirill Tkhai New
[v3,10/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v3,11/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v3,12/55] pid: Alloc threads dynamically Kirill Tkhai New
[v3,13/55] pid: Pass thread pid to caller Kirill Tkhai New
[v3,14/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v3,15/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v3,16/55] pid: Add top_pid_ns Kirill Tkhai New
[v3,17/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[v3,18/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v3,19/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v3,20/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v3,21/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v3,22/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v3,23/55] pstree: Split lookup_create_pid() Kirill Tkhai New
[v3,24/55] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v3,25/55] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v3,26/55] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v3,27/55] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v3,28/55] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v3,29/55] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v3,30/55] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v3,31/55] images: Add NSpids pstree descriptions Kirill Tkhai New
[v3,32/55] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v3,33/55] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v3,34/55] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v3,35/55] ns: Reserve pid_ns helpers Kirill Tkhai New
[v3,36/55] restore: Implement set_next_pid() helper Kirill Tkhai New
[v3,37/55] pid: Always lock last pid file on clone() Kirill Tkhai New
[v3,38/55] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v3,39/55] fdstore: Init fdstore earlier Kirill Tkhai New
[v3,40/55] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v3,41/55] ns: Always start usernsd Kirill Tkhai New
[v3,42/55] pid: Add pid ns futex helper_created Kirill Tkhai New
[v3,43/55] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v3,44/55] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v3,45/55] ns: Add usernsd signal handler Kirill Tkhai New
[v3,46/55] pid: Create pid_ns helpers Kirill Tkhai New
[v3,47/55] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v3,48/55] pid: Set pid_ns before we create a child Kirill Tkhai New
[v3,49/55] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai New
[v3,50/55] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v3,51/55] restorer: Close transport socket later Kirill Tkhai New
[v3,52/55] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v3,53/55] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v3,54/55] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v3,55/55] ns: Nested pid_ns support Kirill Tkhai New
SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v3,00/55] Nested pid namespaces support Kirill Tkhai New
[v3,02/55] mnt: Put root fd to fdstore Kirill Tkhai New
[v3,03/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[v3,04/55] zdtm: Add pidns00 test Kirill Tkhai New
[v3,05/55] zdtm: Add pidns01 test Kirill Tkhai New
[v3,06/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v3,07/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v3,08/55] pid: Add equel_pid() helper Kirill Tkhai New
[v3,09/55] pid: Add last_level_pid() helper Kirill Tkhai New
[v3,10/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v3,11/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v3,12/55] pid: Alloc threads dynamically Kirill Tkhai New
[v3,13/55] pid: Pass thread pid to caller Kirill Tkhai New
[v3,14/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v3,15/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v3,16/55] pid: Add top_pid_ns Kirill Tkhai New
[v3,17/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[v3,18/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v3,19/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v3,20/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v3,21/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v3,22/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v3,23/55] pstree: Split lookup_create_pid() Kirill Tkhai New
[v3,24/55] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v3,25/55] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v3,26/55] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v3,27/55] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v3,28/55] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v3,29/55] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v3,30/55] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v3,31/55] images: Add NSpids pstree descriptions Kirill Tkhai New
[v3,32/55] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v3,33/55] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v3,34/55] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v3,35/55] ns: Reserve pid_ns helpers Kirill Tkhai New
[v3,36/55] restore: Implement set_next_pid() helper Kirill Tkhai New
[v3,37/55] pid: Always lock last pid file on clone() Kirill Tkhai New
[v3,38/55] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v3,39/55] fdstore: Init fdstore earlier Kirill Tkhai New
[v3,40/55] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v3,41/55] ns: Always start usernsd Kirill Tkhai New
[v3,42/55] pid: Add pid ns futex helper_created Kirill Tkhai New
[v3,43/55] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v3,44/55] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v3,45/55] ns: Add usernsd signal handler Kirill Tkhai New
[v3,46/55] pid: Create pid_ns helpers Kirill Tkhai New
[v3,47/55] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v3,48/55] pid: Set pid_ns before we create a child Kirill Tkhai New
[v3,49/55] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai New
[v3,50/55] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v3,51/55] restorer: Close transport socket later Kirill Tkhai New
[v3,52/55] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v3,53/55] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v3,54/55] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v3,55/55] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v3,00/55] Nested pid namespaces support Andrey Vagin New
[v3,02/55] mnt: Put root fd to fdstore Kirill Tkhai New
[v3,03/55] cr-restore: Open transport socket earlier Kirill Tkhai New
[v3,04/55] zdtm: Add pidns00 test Kirill Tkhai New
[v3,05/55] zdtm: Add pidns01 test Kirill Tkhai New
[v3,06/55] kerndat: Check that "/proc/[pid]/status" file has NS{pid, ..} lines Kirill Tkhai New
[v3,07/55] pid: Add pid::level field and level argument for __alloc_pstree_item() Kirill Tkhai New
[v3,08/55] pid: Add equel_pid() helper Kirill Tkhai New
[v3,09/55] pid: Add last_level_pid() helper Kirill Tkhai New
[v3,10/55] pid: Make pgid and sid be allocated dynamically Kirill Tkhai New
[v3,11/55] pid: Use last_level_pid() in restore_pgid() Kirill Tkhai New
[v3,12/55] pid: Alloc threads dynamically Kirill Tkhai New
[v3,13/55] pid: Pass thread pid to caller Kirill Tkhai New
[v3,14/55] pstree: Change arguments of read_pstree_ids() Kirill Tkhai New
[v3,15/55] pstree: Read ids earlier in read_pstree_image() Kirill Tkhai New
[v3,16/55] pid: Add top_pid_ns Kirill Tkhai New
[v3,17/55] pid: Add ns::pid::rb_root Kirill Tkhai New
[v3,18/55] ids: Copy unexisted ids from root_item Kirill Tkhai New
[v3,19/55] pstree: Move parent assignment in read_pstree_image() up Kirill Tkhai New
[v3,20/55] pstree: Assign ids for dead tasks in read_pstree_image() Kirill Tkhai New
[v3,21/55] pstree: Dump pid and user ns ids for dead tasks Kirill Tkhai New
[v3,22/55] pstree: Add pid_ns check in read_pstree_image Kirill Tkhai New
[v3,23/55] pstree: Split lookup_create_pid() Kirill Tkhai New
[v3,24/55] pstree: Add pid_ns id argument to lookup_create_pid() Kirill Tkhai New
[v3,25/55] ns: Add MAX_NS_NESTING Kirill Tkhai New
[v3,26/55] pstree: Make lookup_create_pid() able to create tasks with pid->level > 1 Kirill Tkhai New
[v3,27/55] pid: Implement populate_ns_pids() helper Kirill Tkhai New
[v3,28/55] proc_parse: Implement collect_pid_status() Kirill Tkhai New
[v3,29/55] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v3,30/55] pid: Use collect_pid_status() to populate item's pids Kirill Tkhai New
[v3,31/55] images: Add NSpids pstree descriptions Kirill Tkhai New
[v3,32/55] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v3,33/55] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v3,34/55] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v3,35/55] ns: Reserve pid_ns helpers Kirill Tkhai New
[v3,36/55] restore: Implement set_next_pid() helper Kirill Tkhai New
[v3,37/55] pid: Always lock last pid file on clone() Kirill Tkhai New
[v3,38/55] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v3,39/55] fdstore: Init fdstore earlier Kirill Tkhai New
[v3,40/55] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v3,41/55] ns: Always start usernsd Kirill Tkhai New
[v3,42/55] pid: Add pid ns futex helper_created Kirill Tkhai New
[v3,43/55] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v3,44/55] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v3,45/55] ns: Add usernsd signal handler Kirill Tkhai New
[v3,46/55] pid: Create pid_ns helpers Kirill Tkhai New
[v3,47/55] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v3,48/55] pid: Set pid_ns before we create a child Kirill Tkhai New
[v3,49/55] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai New
[v3,50/55] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v3,51/55] restorer: Close transport socket later Kirill Tkhai New
[v3,52/55] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v3,53/55] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v3,54/55] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v3,55/55] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v4,01/41] pstree: Implement vpgid(), vsid() and vtid() Kirill Tkhai New
[v4,02/41] pstree: Implement free_pstree_item() helper Kirill Tkhai New
[v4,03/41] ns: Do not change net_ns in prepare_net_namespaces() Kirill Tkhai New
[v4,04/41] mnt: Put root fd to fdstore Kirill Tkhai New
[v4,05/41] cr-restore: Open transport socket earlier Kirill Tkhai New
[v4,06/41] zdtm: Add pidns00 test Kirill Tkhai New
[v4,07/41] zdtm: Add pidns01 test Kirill Tkhai New
[v4,08/41] pid_ns: Implement pid_ns_root_off() Kirill Tkhai New
[v4,09/41] pstree: Change arguments in parse_pid_status() Kirill Tkhai New
[v4,10/41] pstree: Introduce PID_SIZE() helper Kirill Tkhai New
[v4,11/41] pstree: Use thread group leader level of pid to allocate threads Kirill Tkhai New
[v4,12/41] pstree: Move thread allocation up and do cleanup Kirill Tkhai New
[v4,13/41] pstree: Pre-dump ns ids before tasks Kirill Tkhai New
[v4,14/41] pstree: Collect NSpid, NSsid and NStgid when possible Kirill Tkhai New
[v4,15/41] pstree: Skip zombie dumping tricks if there is kdat.has_nspid Kirill Tkhai New
[v4,16/41] zombie: Kill by last_level_pid, not by vpid Kirill Tkhai New
[v4,17/41] images: Add NSpids pstree descriptions Kirill Tkhai New
[v4,18/41] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai New
[v4,19/41] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai New
[v4,20/41] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai New
[v4,21/41] ns: Reserve pid_ns helpers Kirill Tkhai New
[v4,22/41] restore: Implement set_next_pid() helper Kirill Tkhai New
[v4,23/41] pid: Always lock last pid file on clone() Kirill Tkhai New
[v4,24/41] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai New
[v4,25/41] fdstore: Init fdstore earlier Kirill Tkhai New
[v4,26/41] pid: Save created pid_ns fd to fdstore Kirill Tkhai New
[v4,27/41] ns: Always start usernsd Kirill Tkhai New
[v4,28/41] pid: Add pid ns futex helper_created Kirill Tkhai New
[v4,29/41] ns: Install transport fd socket in usernsd Kirill Tkhai New
[v4,30/41] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai New
[v4,31/41] ns: Add usernsd signal handler Kirill Tkhai New
[v4,32/41] pid: Create pid_ns helpers Kirill Tkhai New
[v4,33/41] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai New
[v4,34/41] pid: Set pid_ns before we create a child Kirill Tkhai New
[v4,35/41] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai New
[v4,36/41] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai New
[v4,37/41] restorer: Close transport socket later Kirill Tkhai New
[v4,38/41] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai New
[v4,39/41] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai New
[v4,40/41] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai New
[v4,41/41] ns: Nested pid_ns support Kirill Tkhai New

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

# Name Submitter State
[v5,01/42] pstree: Implement free_pstree_item() helper Kirill Tkhai Accepted
[v5,02/42] ns: Do not change net_ns in prepare_net_namespaces() Kirill Tkhai Accepted
[v5,03/42] mnt: Put root fd to fdstore Kirill Tkhai Accepted
[v5,04/42] pstree: Change type of init_pstree_helper() and check for parent Kirill Tkhai Accepted
[v5,05/42] files: Make possible task helpers to use shared_fdt_prepare() Kirill Tkhai Accepted
[v5,06/42] cr-restore: Open transport socket earlier Kirill Tkhai Accepted
[v5,07/42] zdtm: Add pidns00 test Kirill Tkhai Accepted
[v5,08/42] zdtm: Add pidns01 test Kirill Tkhai Accepted
[v5,09/42] pid_ns: Implement pid_ns_root_off() Kirill Tkhai Accepted
[v5,10/42] pstree: Change arguments in parse_pid_status() Kirill Tkhai Accepted
[v5,11/42] pstree: Introduce PID_SIZE() helper Kirill Tkhai Accepted
[v5,12/42] pstree: Use thread group leader level of pid to allocate threads Kirill Tkhai Accepted
[v5,13/42] pstree: Move thread allocation up and do cleanup Kirill Tkhai Accepted
[v5,14/42] pstree: Pre-dump ns ids before tasks Kirill Tkhai Accepted
[v5,15/42] pstree: Collect NSpid, NSsid and NStgid when possible Kirill Tkhai Accepted
[v5,16/42] pstree: Skip zombie dumping tricks if there is kdat.has_nspid Kirill Tkhai Accepted
[v5,17/42] zombie: Kill by last_level_pid, not by vpid Kirill Tkhai Accepted
[v5,18/42] images: Add NSpids pstree descriptions Kirill Tkhai Accepted
[v5,19/42] pstree: Dump and restore NSpid, NSsid etc Kirill Tkhai Accepted
[v5,20/42] pstree: Make get_free_pid() work for different pid_ns and export it Kirill Tkhai Accepted
[v5,21/42] pstree: Extract __pstree_item_by_virt() to act on any pid_ns Kirill Tkhai Accepted
[v5,22/42] ns: Reserve pid_ns helpers Kirill Tkhai Accepted
[v5,23/42] restore: Implement set_next_pid() helper Kirill Tkhai Accepted
[v5,24/42] pid: Always lock last pid file on clone() Kirill Tkhai Accepted
[v5,25/42] pid: Add fdstore id for pid_ns descriptor Kirill Tkhai Accepted
[v5,26/42] fdstore: Init fdstore earlier Kirill Tkhai Accepted
[v5,27/42] pid: Save created pid_ns fd to fdstore Kirill Tkhai Accepted
[v5,28/42] ns: Always start usernsd Kirill Tkhai Accepted
[v5,29/42] pid: Add pid ns futex helper_created Kirill Tkhai Accepted
[v5,30/42] ns: Install transport fd socket in usernsd Kirill Tkhai Accepted
[v5,31/42] cr-restore: Add argument to criu_signals_setup() Kirill Tkhai Accepted
[v5,32/42] ns: Add usernsd signal handler Kirill Tkhai Accepted
[v5,33/42] pid: Create pid_ns helpers Kirill Tkhai Accepted
[v5,34/42] pid: Wait till pid_ns created before we create a child of this ns Kirill Tkhai Accepted
[v5,35/42] pid: Set pid_ns before we create a child Kirill Tkhai Accepted
[v5,36/42] pid_ns: Set user_ns before creation of pid_ns Kirill Tkhai Accepted
[v5,37/42] pid: Teach set_next_pid() working with nested pid_ns Kirill Tkhai Accepted
[v5,38/42] restorer: Close transport socket later Kirill Tkhai Accepted
[v5,39/42] restorer: Set NStids in all pid_ns for thread before we create it. Kirill Tkhai Accepted
[v5,40/42] pid: Check for equality of getpid() of child to last_level_pid Kirill Tkhai Accepted
[v5,41/42] pstree: Use CLONE_NEWPID only to create child reaper of pid_ns Kirill Tkhai Accepted
[v5,42/42] ns: Nested pid_ns support Kirill Tkhai Accepted

Tests