[CRIU] [PATCH 5/9] creds: protobuf -- Move @creds_entry into @thread_core_entry

Cyrill Gorcunov gorcunov at openvz.org
Thu Dec 17 01:14:13 PST 2015


Creds are per-thread data, declare them appropriately.
We will need this data to restore threads with different
credentials.

(In a scope of https://jira.sw.ru/browse/PSBM-41416)

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

diff --git a/protobuf/core.proto b/protobuf/core.proto
index 189acf430369..6def5d9a13f1 100644
--- a/protobuf/core.proto
+++ b/protobuf/core.proto
@@ -5,6 +5,7 @@ import "core-ppc64.proto";
 
 import "rlimit.proto";
 import "timer.proto";
+import "creds.proto";
 
 import "siginfo.proto";
 
@@ -75,6 +76,7 @@ message thread_core_entry {
 	optional uint32			pdeath_sig	= 8;
 
 	optional signal_queue_entry	signals_p	= 9;
+	optional creds_entry		creds		= 10;
 }
 
 message task_rlimits_entry {
-- 
2.5.0



More information about the CRIU mailing list