2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

protobuf: add signal_queue_entry and use it in thread_core_entry and task_core_entry

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@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Ruslan Kuprieiev 2014-08-15 16:02:13 +03:00 committed by Pavel Emelyanov
parent f781ba0466
commit 2950f5ea6e
2 changed files with 10 additions and 0 deletions

View File

@ -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 {

View File

@ -1,3 +1,7 @@
message siginfo_entry {
required bytes siginfo = 1;
}
message signal_queue_entry {
repeated siginfo_entry signals = 1;
}