criu/include
Pavel Emelyanov ffacd0f17c image: Open images via openat
Using absolute paths for this is dangerous - while doing c/r we should
be extremely carefully and not change tasks' roots and mount namespaces
too early. Sometimes it will not work -- when restoring containers we'll
be unable to switch to new CT and still have the ability to open images.

Rework the images opening via openat and keep the image dir fd open all
the time as the service fd (introduced earlier).

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-03-16 20:45:50 +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 files: Use sys_kcmp to find file descriptor duplicates v4 2012-02-28 19:13:47 +04:00
crtools.h image: Open images via openat 2012-03-16 20:45:50 +04:00
file-ids.h files: Use sys_kcmp to find file descriptor duplicates v4 2012-02-28 19:13:47 +04:00
files.h files: Use sys_kcmp to find file descriptor duplicates v4 2012-02-28 19:13:47 +04:00
image.h dump: use fd_params->type for cwd and exe magic 2012-03-06 16:59:28 +04:00
inet_diag.h Trivial whitespace cleanup 2012-01-30 21:29:42 +04:00
ipc_ns.h IPC: show semaphores set 2012-02-15 13:33:46 +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 log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
namespaces.h namespaces: parametrized namespace option introduced 2012-01-31 22:32:22 +04:00
parasite-syscall.h parasite: Check for unexpected signals delivery 2012-03-01 19:31:20 +04:00
parasite.h parasite: Drop unneeded PARASITE_CMD_PINGME command 2012-03-15 20:30:43 +04:00
proc_parse.h dump: Check for pids reuse at suspend 2012-03-01 19:31:20 +04:00
processor-flags.h Add processor-flags.h 2012-02-14 17:18:08 +04:00
ptrace.h dump/restore: Rework final-state switch 2012-03-01 19:31:20 +04:00
rbtree.h files: Use sys_kcmp to find file descriptor duplicates v4 2012-02-28 19:13:47 +04:00
restorer-log.h logfd: Distinguish functions which do setup logdf 2012-03-02 01:05:43 +04:00
restorer.h restorer: Pass self-vmas via memory, not temp file 2012-03-02 21:31:35 +04:00
sockets.h show: UNIX sockets queue support 2012-02-29 17:42:30 +04:00
syscall-codes.h parasite: support sockets queues 2012-02-29 17:42:30 +04:00
syscall.h dump: Restart seize in case reparent occurred 2012-03-01 19:31:21 +04:00
sysctl.h show: Use pr_msg for showing contents on console 2012-03-02 11:12:59 +04:00
types.h syscalls: Introduce sys_kcmp syscall 2012-02-28 19:13:46 +04:00
unix_diag.h sockets: Update unix_diag.h 2012-01-10 17:26:50 +04:00
util-net.h check: Add some basic checks 2012-03-02 14:15:28 +04:00
util.h dump: add const qualifiers where possible 2012-03-06 17:00:42 +04:00
uts_ns.h namespaces: split UTS and generic code 2012-01-31 13:43:28 +04:00