criu/compel
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
..
arch compel: plugins,std -- Move in infect code 2017-03-15 00:06:10 +03:00
include compel: check whether a parasite socket is prepared each time 2017-03-15 00:06:10 +03:00
plugins compel: plugins,std -- Move in infect code 2017-03-15 00:06:10 +03:00
src compel: check whether a parasite socket is prepared each time 2017-03-15 00:06:10 +03:00
.gitignore gitignores: ignore some more generated files 2017-03-15 00:05:55 +03:00
Makefile compel: Drop off handle-elf routines from library 2017-03-15 00:06:08 +03:00