[CRIU] [PATCH 6/6] images: tty -- Reserve entries for multiple devpts support

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 17 07:55:08 PDT 2017


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 images/tty.proto | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/images/tty.proto b/images/tty.proto
index 739a4ffedfff..8ae804a29dcf 100644
--- a/images/tty.proto
+++ b/images/tty.proto
@@ -39,6 +39,8 @@ enum TtyType {
 message tty_data_entry {
 	required uint32			tty_id		= 1;
 	required bytes			data		= 2;
+
+	// optional sint32		mnt_id		= 3 [default = 0];
 }
 
 message tty_info_entry {
@@ -73,6 +75,8 @@ message tty_info_entry {
 
 	optional uint32			uid		= 14;
 	optional uint32			gid		= 15;
+
+	// optional sint32		mnt_id		= 16 [default = 0];
 };
 
 message tty_file_entry {
@@ -81,4 +85,6 @@ message tty_file_entry {
 
 	required uint32			flags		= 3 [(criu).hex = true];
 	required fown_entry		fown		= 4;
+
+	// optional sint32		mnt_id		= 5 [default = 0];
 }
-- 
2.7.4



More information about the CRIU mailing list