Changes

Jump to: navigation, search

C API

37 bytes added, 16:22, 18 December 2013
m
no edit summary
== Beginning ==
You could find libcriu header at '''lib/criu.h'''.To create '''lib/libcriu.so ''' run '''make ''' in the main directory.
== Setup options ==
If no pid is set on dump, CRIU will dump client process by default.
'''Note: ''' Whole tree <pid> must have the same uid, as a client, or client's uid must be == 0, otherwise CRIU won't dump nothing at all. See [[Usage#Security]].
Only '''Note:''' images_dir_fd is '''required ''' at dump/restore, all other options may not be set.
Client must open directory for/with images by himself and set images_dir_fd to it's fd.
CRIU will open /proc/<client's_pid>/fd/<images_dir_fd>, so it will work, if client is in another namespace.
84
edits

Navigation menu