[CRIU] [PATCH v4 04/17] cr-restore: declare SPFS_MNGR_SK service fd
Stanislav Kinsburskiy
skinsbursky at virtuozzo.com
Fri May 20 04:37:08 PDT 2016
This socket will be used to access spfs manager on restore
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
criu/cr-restore.c | 1 +
criu/include/servicefd.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 0f6cdde..1f77999 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -3487,6 +3487,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
close_proc();
close_service_fd(ROOT_FD_OFF);
close_service_fd(USERNSD_SK);
+ close_service_fd(SPFS_MNGR_SK);
__gcov_flush();
diff --git a/criu/include/servicefd.h b/criu/include/servicefd.h
index a9e35a2..37618fa 100644
--- a/criu/include/servicefd.h
+++ b/criu/include/servicefd.h
@@ -19,6 +19,7 @@ enum sfd_type {
CGROUP_YARD,
USERNSD_SK, /* Socket for usernsd */
NS_FD_OFF, /* Node's net namespace fd */
+ SPFS_MNGR_SK, /* Spfs manager socket */
SERVICE_FD_MAX
};
More information about the CRIU
mailing list