Changes

31 bytes added ,  11:54, 1 December 2014
Line 92: Line 92:  
Getting the Inode state is specific to Inode. CRIU uses the following sources of information:
 
Getting the Inode state is specific to Inode. CRIU uses the following sources of information:
   −
# Date from ''/proc/$pid/fdinfo/$fd/''
+
# Data from ''/proc/$pid/fdinfo/$fd/''
 
# Link target of ''/proc/$pid/fd/$fd/'' link
 
# Link target of ''/proc/$pid/fd/$fd/'' link
 
# Inode-specific ioctl()-s
 
# Inode-specific ioctl()-s
# read/recv/tee-s to fetch data from descriptor (pipe data, socket queues)
+
# Fetch data directly from FD with recv + MSG_PEEK for socket queues and tee for pipes/fifos
# sock_diag info to get info about sockets
+
# Info from sock_diag modules to get info about sockets
    
[[Category:Under the hood]]
 
[[Category:Under the hood]]