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

Pavel Emelyanov xemul at virtuozzo.com
Wed May 10 01:43:50 PDT 2017


On 05/06/2017 08:56 AM, Andrei Vagin wrote:
> 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(-)
> 

Looks-good-to: Pavel Emelyanov <xemul at virtuozzo.com>


More information about the CRIU mailing list