[CRIU] [PATCH 1/6] protobuf: add signal_queue_entry and use it in thread_core_entry and task_core_entry

Ruslan Kuprieiev kupruser at gmail.com
Fri Aug 15 06:02:13 PDT 2014


Add signal_queue_entry signals_s for shared signals to task_core_entry
and signals_p for private signals to thread_core_entry.

Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 protobuf/core.proto    | 6 ++++++
 protobuf/siginfo.proto | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/protobuf/core.proto b/protobuf/core.proto
index d850e2e..6571036 100644
--- a/protobuf/core.proto
+++ b/protobuf/core.proto
@@ -5,6 +5,8 @@ import "core-aarch64.proto";
 import "rlimit.proto";
 import "timer.proto";
 
+import "siginfo.proto";
+
 message task_core_entry {
 	required uint32			task_state	= 1;
 	required uint32			exit_code	= 2;
@@ -19,6 +21,8 @@ message task_core_entry {
 	optional task_rlimits_entry	rlimits		= 8;
 
 	optional uint32			cg_set		= 9;
+
+	optional signal_queue_entry	signals_s	= 10;
 }
 
 message task_kobj_ids_entry {
@@ -49,6 +53,8 @@ message thread_core_entry {
 	optional uint64			blk_sigset	= 6;
 	optional thread_sas_entry	sas		= 7;
 	optional uint32			pdeath_sig	= 8;
+
+	optional signal_queue_entry	signals_p	= 9;
 }
 
 message task_rlimits_entry {
diff --git a/protobuf/siginfo.proto b/protobuf/siginfo.proto
index e43eb88..c3630f9 100644
--- a/protobuf/siginfo.proto
+++ b/protobuf/siginfo.proto
@@ -1,3 +1,7 @@
 message siginfo_entry {
 	required bytes siginfo = 1;
 }
+
+message signal_queue_entry {
+	repeated siginfo_entry signals = 1;
+}
-- 
1.9.1



More information about the CRIU mailing list