[CRIU] [PATCH 00/15] net: Add support for raw inet sockets

Cyrill Gorcunov gorcunov at gmail.com
Thu Sep 13 22:57:43 MSK 2018


Cyrill Gorcunov (14):
  compiler: Add NELEMS_AS_ARRAY helper
  inet: raw -- Add constants needed to fetch properties of a raw socket
  inet: raw -- Check for kernel diag module support
  inet: raw -- Fetch socket type and check for being raw in can_dump_ipproto
  inet: raw -- Reuse already known family and type in gen_uncon_sk
  inet: raw -- Prepare gen_uncon_sk for raw sockets
  inet: raw -- Add raw sockets into can_dump_inet_sk
  inet: raw -- Add preloading raw_diag module
  inet: raw -- Split lookup_socket helper
  inet: raw -- Add checkpoint and restore of raw sockets
  inet: raw -- Add socket-raw test
  net: Add prefixes for better logging
  sockets: Improve helpers to make sockets more readable
  inet: More readable content in show methods

Kirill Tkhai (1):
  inet: raw -- Skip IP_FREEBIND for ipv6 SOCK_RAW sockets

 criu/cr-check.c                  |   9 +
 criu/include/sk-inet.h           |  12 +
 criu/include/sockets.h           |  40 +++-
 criu/sk-inet.c                   | 203 ++++++++++++----
 criu/sk-netlink.c                |   3 +
 criu/sk-packet.c                 |   3 +
 criu/sk-queue.c                  |   3 +
 criu/sk-tcp.c                    |   2 +
 criu/sk-unix.c                   |  13 +-
 criu/sockets.c                   | 167 ++++++++++----
 images/sk-inet.proto             |  13 +-
 include/common/compiler.h        |   1 +
 test/zdtm/static/Makefile        |   1 +
 test/zdtm/static/socket-raw.c    | 382 +++++++++++++++++++++++++++++++
 test/zdtm/static/socket-raw.desc |   1 +
 15 files changed, 754 insertions(+), 99 deletions(-)
 create mode 100644 test/zdtm/static/socket-raw.c
 create mode 100644 test/zdtm/static/socket-raw.desc

-- 
2.17.1



More information about the CRIU mailing list