mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +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:
parent
f781ba0466
commit
2950f5ea6e
@ -5,6 +5,8 @@ import "core-aarch64.proto";
|
|||||||
import "rlimit.proto";
|
import "rlimit.proto";
|
||||||
import "timer.proto";
|
import "timer.proto";
|
||||||
|
|
||||||
|
import "siginfo.proto";
|
||||||
|
|
||||||
message task_core_entry {
|
message task_core_entry {
|
||||||
required uint32 task_state = 1;
|
required uint32 task_state = 1;
|
||||||
required uint32 exit_code = 2;
|
required uint32 exit_code = 2;
|
||||||
@ -19,6 +21,8 @@ message task_core_entry {
|
|||||||
optional task_rlimits_entry rlimits = 8;
|
optional task_rlimits_entry rlimits = 8;
|
||||||
|
|
||||||
optional uint32 cg_set = 9;
|
optional uint32 cg_set = 9;
|
||||||
|
|
||||||
|
optional signal_queue_entry signals_s = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
message task_kobj_ids_entry {
|
message task_kobj_ids_entry {
|
||||||
@ -49,6 +53,8 @@ message thread_core_entry {
|
|||||||
optional uint64 blk_sigset = 6;
|
optional uint64 blk_sigset = 6;
|
||||||
optional thread_sas_entry sas = 7;
|
optional thread_sas_entry sas = 7;
|
||||||
optional uint32 pdeath_sig = 8;
|
optional uint32 pdeath_sig = 8;
|
||||||
|
|
||||||
|
optional signal_queue_entry signals_p = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
message task_rlimits_entry {
|
message task_rlimits_entry {
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
message siginfo_entry {
|
message siginfo_entry {
|
||||||
required bytes siginfo = 1;
|
required bytes siginfo = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message signal_queue_entry {
|
||||||
|
repeated siginfo_entry signals = 1;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user