Changes

37 bytes added ,  16:22, 18 December 2013
m
no edit summary
Line 2: Line 2:     
== Beginning ==
 
== Beginning ==
You could find libcriu header at lib/criu.h.
+
You could find libcriu header at '''lib/criu.h'''.
To create lib/libcriu.so run make in the main directory.
+
To create '''lib/libcriu.so''' run '''make''' in the main directory.
    
== Setup options ==
 
== Setup options ==
Line 29: Line 29:     
If no pid is set on dump, CRIU will dump client process by default.
 
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]].
+
'''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 images_dir_fd is required at dump/restore, all other options may not be set.
+
'''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.
 
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.
 
CRIU will open /proc/<client's_pid>/fd/<images_dir_fd>, so it will work, if client is in another namespace.
85

edits