[CRIU] [PATCH 2/8] crit: Add more families into socket decoding

Cyrill Gorcunov gorcunov at openvz.org
Wed Nov 1 16:19:19 MSK 2017


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 lib/py/images/pb2dict.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/py/images/pb2dict.py b/lib/py/images/pb2dict.py
index 2223e62e5d53..d29937b294f3 100644
--- a/lib/py/images/pb2dict.py
+++ b/lib/py/images/pb2dict.py
@@ -135,7 +135,11 @@ gen_maps = {
 }
 
 sk_maps = {
-	'family'    : { 2: 'INET', 10: 'INET6'},
+	'family'    : {  1: 'UNIX',
+			 2: 'INET',
+			10: 'INET6',
+			16: 'NETLINK',
+			17: 'PACKET' },
 	'type'      : { 1: 'STREAM', 2: 'DGRAM' },
 	'state'     : { 1: 'ESTABLISHED', 7: 'CLOSE', 10: 'LISTEN' },
 	'proto'     : { 6: 'TCP' },
-- 
2.7.5



More information about the CRIU mailing list