mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-22 18:05:10 +00:00
When `opts.pid` is explicitly set to `os.getpid()`, `pycriu` fails to daemonize the `criu` process. This causes `criu` to run as a child of the dumped process, leading to the error "The criu itself is within dumped tree". This can be fixed by modifying `_send_req_and_recv_resp` to check if the target PID matches the current process PID. If so, it enables daemon mode, ensuring `criu` is detached and the dump succeeds. Signed-off-by: unichronic <ishuvam.pal@gmail.com> |
||
|---|---|---|
| .. | ||
| c | ||
| pycriu | ||
| .gitignore | ||
| Makefile | ||
| pyproject.toml | ||
| setup.cfg | ||
| setup.py | ||