[CRIU] [PATCH] images: Reserve tty numbers in task_core_entry

Cyrill Gorcunov gorcunov at openvz.org
Tue Jul 18 22:57:54 MSK 2017


We will need them to handle tty inheritance.

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

In sake of https://jira.sw.ru/browse/PSBM-67671

diff --git a/images/core.proto b/images/core.proto
index ea572d93a300..0291fae68ea8 100644
--- a/images/core.proto
+++ b/images/core.proto
@@ -47,6 +47,10 @@ message task_core_entry {
 
 	optional int32			oom_score_adj	= 14;
 	repeated sa_entry		sigactions	= 15;
+
+	// Reserved for TTY inheritance handling
+	// optional int32		tty_nr		= 16;
+	// optional int32		tty_pgrp	= 17;
 }
 
 message task_kobj_ids_entry {
-- 
2.7.5



More information about the CRIU mailing list