Changes

133 bytes added ,  01:34, 18 May 2017
no edit summary
Line 102: Line 102:  
if we restored a server socket, we can get a file descriptor for its file and use it to restore client sockets by calling connect() for /proc/self/fd/[SK_FILE_FD]
 
if we restored a server socket, we can get a file descriptor for its file and use it to restore client sockets by calling connect() for /proc/self/fd/[SK_FILE_FD]
 
umount tmpfs from the temporary directory and remove the directory after restoring all sockets
 
umount tmpfs from the temporary directory and remove the directory after restoring all sockets
 +
 +
= Source code =
 +
[https://github.com/avagin/criu/tree/mntns-2.0 github.com/avagin/criu/tree/mntns-2.0]
 +
 +
[[Category: Under the hood]]