2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00
Andrey Vagin bce89dba4b restore: reserve the service descriptor for a control tty
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>
2013-03-18 23:04:09 +04:00
2013-03-15 17:31:21 +04:00
2013-02-18 18:10:45 +04:00
2012-03-25 23:31:20 +04:00
2011-12-05 14:11:05 +04:00
2013-03-14 18:16:44 +04:00
2013-03-01 20:11:51 +04:00
2013-03-14 18:16:41 +04:00
2012-07-30 13:52:37 +04:00
2013-03-14 18:16:44 +04:00
2013-01-16 19:20:08 +04:00
2013-01-16 19:20:08 +04:00
2013-01-17 16:00:48 +04:00
2013-01-14 14:26:18 +04:00
2013-03-18 22:32:57 +04:00
2013-03-18 22:31:45 +04:00
2013-03-14 18:16:41 +04:00
2012-01-29 16:26:36 +04:00
2013-03-15 18:23:19 +04:00
2013-01-16 19:20:08 +04:00
2013-01-15 23:24:01 +04:00

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
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%