2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-01 23:05:39 +00:00

Set descriptors to restart a current syscall

If a task is sleep in syscall, it should be restared.
This logic is moved from kernel do_signal().

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Andrey Vagin
2011-12-02 16:46:00 +04:00
committed by Cyrill Gorcunov
parent 5a49b9e216
commit 04f36aed0a
3 changed files with 23 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
#define __NR_futex 202
#define __NR_set_thread_area 205
#define __NR_get_thread_area 211
#define __NR_restart_syscall 219
#else /* CONFIG_X86_64 */
# error x86-32 bit mode not yet implemented