From b58eed2a6d652902e26fe22ef6e75726f3e57059 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 17 Mar 2017 17:55:08 +0300 Subject: [PATCH] images: tty -- Reserve entries for multiple devpts support Signed-off-by: Cyrill Gorcunov Signed-off-by: Andrei Vagin --- images/tty.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/images/tty.proto b/images/tty.proto index c282cc2ef..ed664ef51 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,5 +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]; optional uint32 regf_id = 6; }