Commit b58eed2a authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

images: tty -- Reserve entries for multiple devpts support

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent c983d5f9
...@@ -39,6 +39,8 @@ enum TtyType { ...@@ -39,6 +39,8 @@ enum TtyType {
message tty_data_entry { message tty_data_entry {
required uint32 tty_id = 1; required uint32 tty_id = 1;
required bytes data = 2; required bytes data = 2;
// optional sint32 mnt_id = 3 [default = 0];
} }
message tty_info_entry { message tty_info_entry {
...@@ -73,6 +75,8 @@ message tty_info_entry { ...@@ -73,6 +75,8 @@ message tty_info_entry {
optional uint32 uid = 14; optional uint32 uid = 14;
optional uint32 gid = 15; optional uint32 gid = 15;
// optional sint32 mnt_id = 16 [default = 0];
}; };
message tty_file_entry { message tty_file_entry {
...@@ -81,5 +85,6 @@ message tty_file_entry { ...@@ -81,5 +85,6 @@ message tty_file_entry {
required uint32 flags = 3 [(criu).hex = true]; required uint32 flags = 3 [(criu).hex = true];
required fown_entry fown = 4; required fown_entry fown = 4;
// optional sint32 mnt_id = 5 [default = 0];
optional uint32 regf_id = 6; optional uint32 regf_id = 6;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment