criu/scripts
Pavel Tikhomirov e3a853ab99 criu-ns: make pidns init first do setsid
We see that on criu-ns dump/restore/dump of the process which initially
was not a session leader (with --shell-job option) we see sid == 0 for
it and fail with something like:

Error (criu/cr-dump.c:1333): A session leader of 41585(41585) is outside of its pid namespace

Note: We should not dump processes with sid 0 (even with --shell-job) as
on restore we can can put such processes from multiple sessions into
one, which is wrong.

Fixes: #232

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
2022-04-28 17:53:52 -07:00
..
build ci: Update openj9 container images 2021-09-22 08:21:06 -07:00
ci ci: enable coredump tests 2022-04-28 17:53:52 -07:00
nmk build: respect $PKG_CONFIG settings 2021-09-03 10:31:00 -07:00
crit-setup.py py: Reformat everything into pep8 style 2019-09-07 15:59:56 +03:00
criu-ns criu-ns: make pidns init first do setsid 2022-04-28 17:53:52 -07:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak config/nftables: include string.h for strlen 2020-03-27 19:36:20 +03:00
fetch-clang-format.sh criu: introduce clang-format to format source code 2021-09-03 10:31:00 -07:00
flake8.cfg coredump: remove unused import 2022-04-28 17:53:52 -07:00
install-criu-image-streamer.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
install-debian-pkgs.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
magic-gen.py py: Fix tabs in code comments 2019-09-07 15:59:57 +03:00
protobuf-gen.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
systemd-autofs-restart.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00
tmp-files.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00