mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +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:
committed by
Cyrill Gorcunov
parent
5a49b9e216
commit
04f36aed0a
@@ -76,6 +76,11 @@
|
||||
|
||||
#define SIGMAX 32
|
||||
|
||||
#define ERESTARTSYS 512
|
||||
#define ERESTARTNOINTR 513
|
||||
#define ERESTARTNOHAND 514
|
||||
#define ERESTART_RESTARTBLOCK 516
|
||||
|
||||
typedef uint64_t u64;
|
||||
typedef int64_t s64;
|
||||
typedef unsigned int u32;
|
||||
|
Reference in New Issue
Block a user