diff options
author | Yuriy Vasiliev <yuriy.vasiliev@openvz.org> | 2022-01-20 19:13:59 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-07-02 19:06:30 +0300 |
commit | 7968e71db86f92b09a207bb580924265892fe8ec (patch) | |
tree | 1b4bf3f79677c1392a7d4544d7bb5dddec379788 /images | |
parent | 029ca223767f41ab8aeee6441c04aba3f3e5765b (diff) |
infect: add SIGTSTP support
Add SIGTSTP signal dump and restore. Add a corresponding field
in the image, save it only if a task is in the stopped state.
Restore task state by sending desired stop signal if it is present
in the image. Fallback to SIGSTOP if it's absent.
Signed-off-by: Yuriy Vasiliev <yuriy.vasiliev@openvz.org>
Diffstat (limited to 'images')
-rw-r--r-- | images/core.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/images/core.proto b/images/core.proto index 35079f366..345bdca53 100644 --- a/images/core.proto +++ b/images/core.proto @@ -60,6 +60,8 @@ message task_core_entry { // Reserved for container relative start time //optional uint64 start_time = 19; optional uint64 blk_sigset_extended = 20[(criu).hex = true]; + + optional uint32 stop_signo = 21; } message task_kobj_ids_entry { |