[CRIU] [PATCH 0/4] restore: create the root netns before starting setup-namespaces scripts

Andrei Vagin avagin at openvz.org
Fri May 5 22:56:47 PDT 2017


From: Andrei Vagin <avagin at virtuozzo.com>

runc executes criu restore --emptyns network and sets a setup-namespaces
script to restore a network namespace.

Andrei Vagin (4):
  restore: create the root netns before executin setup-namespaces
    scripts
  travis: check the --empty-ns option
  restore: create tansport socket for pidns helpers from the root task
  test: don't use nsenter in tests

 criu/cr-restore.c           | 24 ++++++++++++---
 criu/include/namespaces.h   |  3 ++
 criu/namespaces.c           | 75 +++++++++++++++++++++++++++++----------------
 criu/net.c                  | 12 +++++++-
 scripts/travis/travis-tests |  2 ++
 test/empty-netns-prep.sh    | 12 ++++++--
 6 files changed, 95 insertions(+), 33 deletions(-)

-- 
2.9.3



More information about the CRIU mailing list