[CRIU] [PATCH 09/12] tty: proto -- Add comments on some fields

Cyrill Gorcunov gorcunov at openvz.org
Fri Oct 3 00:50:02 PDT 2014


Actually these @locked and @packet_mode are
valid for unix98 ptys only so since moving
them into @tty_pty_entry is impossible at
least lets comment this.

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

diff --git a/protobuf/tty.proto b/protobuf/tty.proto
index c9760a01851f..8942965c580b 100644
--- a/protobuf/tty.proto
+++ b/protobuf/tty.proto
@@ -33,9 +33,9 @@ message tty_info_entry {
 
 	required TtyType		type		=  2;
 
-	required bool			locked		=  3;
+	required bool			locked		=  3;	/* Unix98 PTY only */
 	required bool			exclusive	=  4;
-	required bool			packet_mode	=  5;
+	required bool			packet_mode	=  5;	/* Unix98 PTY only */
 
 	required uint32			sid		=  6;
 	required uint32			pgrp		=  7;
-- 
1.9.3



More information about the CRIU mailing list