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]].
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.