[CRIU] [PATCH 0/3] criu exec fixes
Dmitry Safonov
dsafonov at virtuozzo.com
Wed Jul 6 06:48:16 PDT 2016
Here is two fixes for criu-exec:
- properly find needed syscall's number
- init kdat.task_size for syscall injection search code
Also a patch to log PTRACE_GETREGSET failures.
With those patches `criu exec -p <pid> <syscall>` works for me.
Dmitry Safonov (3):
x86/ptrace: describe failures from errno
cr-exec: check syscall's number right before injecting it
cr-exec: initialize kdat.task_size on criu exec
criu/arch/x86/crtools.c | 5 +++++
criu/arch/x86/sys-exec-tbl.c | 19 ++++++-------------
criu/cr-exec.c | 15 +++++++++++----
criu/include/kerndat.h | 1 +
criu/kerndat.c | 6 +++---
5 files changed, 26 insertions(+), 20 deletions(-)
--
2.9.0
More information about the CRIU
mailing list