mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
bce89dba4befebc4b8b540c8fab2551325461a80
I'm really lucky. prepare_ctl_tty: e->fd = get_service_fd(CTL_TTY_OFF); // -1 as fd is not set send_fd_to_self: if (dup2(fd, dfd) != dfd) { // tries to install sfd, but -1 == -1 tty_restore_ctl_terminal: if (!is_service_fd(fd, CTL_TTY_OFF)) return fd == get_service_fd(type); // -1 = -1 Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
crtools ======= An utility to checkpoint/restore tasks. Some code snippets are borrowed from - Linux kernel (http://kernel.org/) - git (http://git-scm.com/) - kvm-tools (https://github.com/penberg/linux-kvm) - ptrace-parasite (https://code.google.com/p/ptrace-parasite/) Many thanks to these projects. Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)
Description
Languages
C
86%
Python
6.1%
Java
2.6%
Shell
2.6%
Makefile
2%
Other
0.7%