criu/include
Pavel Emelyanov 98f4c2e4de ns: Support UTS namespace
Only two fields are modifiable -- hostname and domainname. So
read them on dump and write on restore.

File format is simple --

u32 magic
u32 length of nodename
u8[] nodename string
u32 length of domainname
u8[] domainname string

For OpenVZ we can write the release at the end, but this is later.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-26 16:54:22 +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 ns: Support UTS namespace 2012-01-26 16:54:22 +04:00
files.h restore: Learn to work with shared struct file-s 2012-01-11 16:01:44 +04:00
image.h ns: Support UTS namespace 2012-01-26 16:54:22 +04:00
inet_diag.h sockets: Rename struct inet_diag_req to inet_diag_req_v2 2012-01-20 16:40:56 +04:00
libnetlink.h net: Define named constant for nlmsg_seq 2011-12-27 20:13:18 +04:00
list.h Initial commit 2011-09-23 12:00:45 +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 ns: Support UTS namespace 2012-01-26 16:54:22 +04:00
parasite-syscall.h crtools: Interval timers support 2012-01-24 18:41:49 +04:00
parasite.h crtools: Interval timers support 2012-01-24 18:41:49 +04:00
proc_parse.h dump: Dump cmdline and envirion parameters 2012-01-24 18:01:07 +04:00
ptrace.h dump: Drop unneeded #includes 2011-12-19 23:18:17 +04:00
restorer-log.h restorer: move log descriptor from crtools (v2) 2012-01-17 18:08:03 +03:00
restorer.h crtools: Interval timers support 2012-01-24 18:41:49 +04:00
sockets.h show: inet sockets dump parsing support added 2012-01-18 12:39:04 +04:00
syscall-codes.h crtools: Namespaces support skeleton 2012-01-26 16:54:22 +04:00
syscall.h ns: Support UTS namespace 2012-01-26 16:54:22 +04:00
types.h restore: Restore cmdline arguments, envirion and auxv restore 2012-01-24 18:01:08 +04:00
unix_diag.h sockets: Update unix_diag.h 2012-01-10 17:26:50 +04:00
util.h crtools: R/W API rewrite 2012-01-23 01:43:10 +04:00