criu/include
Cyrill Gorcunov 4a2a290137 make: Generate offsets from linked files only
Instead of generating offsets from early compiled
object files (one day the offsets obtained from
there might be changed during linkage stage) better
to get them from a final stage where all object
files involved are linked into complete binary blob.

That happened that at early stage we indeed were using
only single file per parasite and restorer but at present
there a couple of file involved (and will be more in
future) so we need a safe approach.

Also note the symbols being exported are prefixed as
"__export_". This is easier approach for now. Putting
such symbols into separate section requires a way
more efforts to handle.

The main reason of having two files (Elf object
and binary blob) is to get 1:1 mapping between
symbols definition and their position in binary
target.

The exported symbols name addresses are obtained
from object file and used as offsets in binary
target.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-18 18:22:15 +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 files: Collect fdinfo-s on per-pstree_item list 2012-04-18 16:24:08 +04:00
file-ids.h vma: Remove FDINFO_MAP fd type 2012-04-09 12:57:38 +04:00
files.h files: Simplify fd-s restore 2012-04-18 16:27:46 +04:00
image.h magics: Move them one tab right 2012-04-13 18:02:50 +04:00
inet_diag.h Trivial whitespace cleanup 2012-01-30 21:29:42 +04:00
ipc_ns.h show: Introduce ->show callback for fdset 2012-03-27 12:01:14 +04:00
kcmp-ids.h kcmp: Introduce generic object ID generator 2012-04-09 18:01:18 +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: Restore ability to abort on futex waiting 2012-04-05 14:07:39 +04:00
log.h log: log-engine slight redesign 2012-03-02 01:05:43 +04:00
memcpy_64.h Add builtin_memcpy helper 2012-03-29 15:14:06 +04:00
namespaces.h show: Introduce ->show callback for fdset 2012-03-27 12:01:14 +04:00
parasite-syscall.h fd: Handle close-on-exec bits 2012-04-10 18:36:59 +04:00
parasite.h make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
proc_parse.h proc: Make small stat parsing read pgid and sid 2012-04-11 22:09:12 +04:00
processor-flags.h Add processor-flags.h 2012-02-14 17:18:08 +04:00
ptrace.h xids: Save pgid and sid on pstree_Item and pstree_entry 2012-04-11 22:10:09 +04:00
rbtree.h rb: Drop rb_attach_node 2012-03-28 20:28:29 +04:00
restorer-log.h logfd: Distinguish functions which do setup logdf 2012-03-02 01:05:43 +04:00
restorer.h make: Generate offsets from linked files only 2012-04-18 18:22:15 +04:00
sockets.h files: Generalize file open, get rid of explicit types switch 2012-04-06 20:39:48 +04:00
syscall-codes.h syscall: Add fcntl syscall and F_GETFD cmd 2012-04-10 18:35:54 +04:00
syscall-types.h syscalls: Move types definitions needed for syscalls into syscall-types.h 2012-04-18 12:25:17 +04:00
syscall.h syscalls: Change sys_mincore, sys_mprotect, sys_arch_prctl declaration 2012-04-18 12:27:49 +04:00
sysctl.h show: Use pr_msg for showing contents on console 2012-03-02 11:12:59 +04:00
types.h types: Add F_GETOWNER_UIDS opcode 2012-04-12 12:27:54 +04:00
unix_diag.h sockets: Update unix_diag.h 2012-01-10 17:26:50 +04:00
util-net.h util-net: Make send/recv fds carry fd flags in message 2012-04-10 18:36:13 +04:00
util.h util: Extend reopen_fd_as_safe 2012-04-16 12:35:51 +04:00
uts_ns.h show: Introduce ->show callback for fdset 2012-03-27 12:01:14 +04:00