criu/include
Cyrill Gorcunov 76a249282e restore: Add checkpoint/restore for /proc/pid/exe symlink
This patch adds ability to checkpoint/restore
/proc/pid/exe symlink, so if a process we've just
checkpointed has been say /path/to/exe, then at restore
time we bring this path back.

There some restiction from kernel side: if
existing /proc/pid/exe already mapped more than
once, the kernel will refuse to change the symlink,
so we need to restore it lately when mmaps of crtools
itself already unmapped (ie via late call in
restorer.c).

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
2012-02-07 20:08:01 +04:00
..
atomic.h Gather futex helpers into lock.h 2011-12-26 23:54:18 +04:00
bitops.h restore: Add mutexes via futex syscall and order threads creation 2011-11-18 16:09:01 +04:00
compiler.h Add ALIGN helper 2011-11-16 18:16:12 +04:00
crtools.h ctrools: Rewrite task/threads stopping engine is back 2012-02-01 19:49:28 +04:00
files.h restore: Learn to work with shared struct file-s 2012-01-11 16:01:44 +04:00
image.h restore: Add checkpoint/restore for /proc/pid/exe symlink 2012-02-07 20:08:01 +04:00
inet_diag.h Trivial whitespace cleanup 2012-01-30 21:29:42 +04:00
ipc_ns.h ips_ns.h: Add CR_ prefix to header defines 2012-02-01 14:39:01 +04:00
libnetlink.h net: Define named constant for nlmsg_seq 2011-12-27 20:13:18 +04:00
list.h list: Cleanup spaces/tabs mess 2012-02-01 14:38:49 +04:00
lock.h lock: add a new primitive cr_wait_until_greater (v2) 2012-01-19 16:16:58 +04:00
log.h Move logging functions to log.c 2011-12-19 18:52:50 +04:00
namespaces.h namespaces: parametrized namespace option introduced 2012-01-31 22:32:22 +04:00
parasite-syscall.h parasite: Dump misc command 2012-01-30 12:59:54 +04:00
parasite.h parasite: transfer image fd in parasite 2012-02-01 19:26:58 +04:00
proc_parse.h ctrools: Rewrite task/threads stopping engine is back 2012-02-01 19:49:28 +04:00
ptrace.h crtools: dump and restore clear_tid_address 2012-02-03 17:28:04 +04:00
restorer-log.h restorer: move log descriptor from crtools (v2) 2012-01-17 18:08:03 +03:00
restorer.h restore: Add checkpoint/restore for /proc/pid/exe symlink 2012-02-07 20:08:01 +04:00
sockets.h show: inet sockets dump parsing support added 2012-01-18 12:39:04 +04:00
syscall-codes.h syscall: add set_tid_address 2012-02-03 17:27:31 +04:00
syscall.h syscall: add set_tid_address 2012-02-03 17:27:31 +04:00
sysctl.h Add sysctl handling engine 2012-02-02 21:22:20 +04:00
types.h restore: Add checkpoint/restore for /proc/pid/exe symlink 2012-02-07 20:08:01 +04:00
unix_diag.h sockets: Update unix_diag.h 2012-01-10 17:26:50 +04:00
util-net.h util: move recv_fd and send_fd in a separate file 2012-02-01 19:26:41 +04:00
util.h Annotate printk with printf attribute 2012-01-31 15:56:33 +04:00
uts_ns.h namespaces: split UTS and generic code 2012-01-31 13:43:28 +04:00