[CRIU] [PATCH v2 0/4] Handle bindmounted unix sockets
Cyrill Gorcunov
gorcunov at openvz.org
Sat Aug 12 17:42:04 MSK 2017
v2 (by avagin@)
- use switch_ns/restore_ns in collect_unix_bindmounts
- make sure only one mountpoint exists for socket
- use separate list for mountpoint to speeup restore
- improve test to check the data passing
Cyrill Gorcunov (4):
sk-unix: Save mnt_id for bindmounted entries
mount: Export print_ns_root
sk-unix: Handle bindmounted dgram sockets on restore
test: mount -- Add bind-mount-unix
criu/cr-dump.c | 3 +
criu/include/mount.h | 1 +
criu/include/sockets.h | 3 +
criu/mount.c | 10 ++-
criu/sk-unix.c | 128 +++++++++++++++++++++++++++++++
images/sk-unix.proto | 5 ++
test/zdtm/static/Makefile | 1 +
test/zdtm/static/bind-mount-unix.c | 139 ++++++++++++++++++++++++++++++++++
test/zdtm/static/bind-mount-unix.desc | 1 +
9 files changed, 289 insertions(+), 2 deletions(-)
create mode 100644 test/zdtm/static/bind-mount-unix.c
create mode 100644 test/zdtm/static/bind-mount-unix.desc
--
2.7.5
More information about the CRIU
mailing list