[CRIU] [PATCH 0/4] restore: create the root netns before starting setup-namespaces scripts
Kirill Tkhai
ktkhai at virtuozzo.com
Wed May 10 02:28:53 PDT 2017
On 06.05.2017 08:56, 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
Reviewed-by: Kirill Tkhai <ktkhai at virtuozzo.com>
> 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(-)
>
More information about the CRIU
mailing list