criu/compel
Cyrill Gorcunov 2e16cc1e4f compel: Do not loose sign of result in compat syscall
Regs are present in unsigned format so convert them
into signed first to provide results.

In particular if memfd_create syscall failed we won't
notice -ENOMEM error but rather treat it as unsigned
hex value

 | (05.303002) Putting parasite blob into 0x7f1c6ffe0000->0xfffffff4
 | (05.303234) Putting tsock into pid 42773

Signed-off-by: Cyrill Gorcunov <gorcunov@virtuozzo.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-11-23 20:23:14 +03:00
..
arch compel: Do not loose sign of result in compat syscall 2017-11-23 20:23:14 +03:00
include compel: Add more arguments to compel_wait_task() 2017-05-10 04:26:56 +03:00
plugins s390: Move -msoft-float/-fno-optimize-sibling-calls into compel Makefiles 2017-08-09 18:51:41 +03:00
src compel: Add R_X86_64{,_REX}_GOTPCRELX relocs 2017-10-22 06:35:00 +03:00
test compel/test: fix "infect" test compilation errors 2017-09-21 01:00:23 +03:00
.gitignore compel: adapt .gitgnore for aarch64 and ppc64le 2017-08-09 18:51:42 +03:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile s390: Move -msoft-float/-fno-optimize-sibling-calls into compel Makefiles 2017-08-09 18:51:41 +03:00