criu/compel/include/uapi
Andrei Vagin aa72d8872b compel: check whether a parasite socket is prepared each time
Currently we prepare a parasite socket only once and
save it in a static variable.

It's bad idea to use a static variable in a library.

In addition, it doesn't work if we have processes in
different network namespaces. In this case, we have to have
a separate socket for each namespace.

v2: fix compilation on Alpine
    convert *p_sock into sock

travis-ci: success for compel: check whether a parasite socket is prepared each time (rev2)
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2017-03-15 00:06:10 +03:00
..
compel.h compel: Move relocs stuff into include/uapi/handle-elf.h 2017-03-15 00:06:09 +03:00
cpu.h compel: Move cpu interface to compel 2017-03-15 00:06:03 +03:00
handle-elf.h compel: Move relocs stuff into include/uapi/handle-elf.h 2017-03-15 00:06:09 +03:00
infect-rpc.h compel: Move in parasite engine 2017-03-15 00:06:06 +03:00
infect-util.h compel: Move in parasite engine 2017-03-15 00:06:06 +03:00
infect.h compel: check whether a parasite socket is prepared each time 2017-03-15 00:06:10 +03:00
ksigset.h criu: Fix headers for non-x86 arches. 2017-03-15 00:06:03 +03:00
log.h compel: Move log-related stuff into include/uapi/log.h 2017-03-15 00:06:09 +03:00
loglevels.h compel: Add callback-based log engine 2017-03-15 00:06:02 +03:00
plugins compel: Include compel headers as system ones 2017-03-15 00:06:02 +03:00
plugins.h compel: Add plugins header 2017-03-14 23:58:09 +03:00
ptrace.h compel: Move in parasite engine 2017-03-15 00:06:06 +03:00
sigframe-common.h compel: Move sigframe code into compel 2017-03-15 00:06:05 +03:00