[CRIU] [PATCH cr 08/11] files: some types of objects want to open transport for masters

Andrey Vagin avagin at openvz.org
Thu Apr 5 12:02:12 EDT 2012


For example it's pipe.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 files.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/files.c b/files.c
index 6b5ca12..a0673ba 100644
--- a/files.c
+++ b/files.c
@@ -310,6 +310,11 @@ void transport_name_gen(struct sockaddr_un *addr, int *len,
 	*addr->sun_path = '\0';
 }
 
+static int should_open_transport(struct fdinfo_entry *fe, struct list_head *fd_list)
+{
+	return 0;
+}
+
 static int open_transport_fd(int pid, struct fdinfo_entry *fe, struct list_head *fd_list)
 {
 	struct fdinfo_list_entry *fle;
-- 
1.7.1



More information about the CRIU mailing list