diff options
author | Liu Chao <liuchao173@huawei.com> | 2021-06-29 05:02:51 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-09-03 20:31:00 +0300 |
commit | 80079fbb0d495428964c0836eaf46cf0f4dd8928 (patch) | |
tree | 6593b19ffd856f84f780f8ef9f43b2822f247fcb /images | |
parent | 6be9345fb16b105350c36a777eea71abb2ac4526 (diff) |
criu: dump and restore notify_thread_id of posix timer
When sigev_notify_thread_id is not set, get_pid will return a NULL
pointer and do_timer_create will return -EINVAL in kernel. So criu
will failed to create posix timer:
(09.806760) pie: 41301: Error (criu/pie/restorer.c:1998): Can't restore posix timers -22
(09.806824) pie: 41301: Error (criu/pie/restorer.c:2133): Restorer fail 41301
(09.891880) Error (criu/cr-restore.c:2596): Restoring FAILED.
Signed-off-by: Liu Chao <liuchao173@huawei.com>
Diffstat (limited to 'images')
-rw-r--r-- | images/timer.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/images/timer.proto b/images/timer.proto index 4eb5452b3..3b95562ab 100644 --- a/images/timer.proto +++ b/images/timer.proto @@ -21,6 +21,7 @@ message posix_timer_entry { required uint64 insec = 8; required uint64 vsec = 9; required uint64 vnsec = 10; + optional int32 notify_thread_id= 11; } message task_timers_entry { |