[CRIU] [PATCH 0/8] Add support of netlink sockets

Pavel Emelyanov xemul at parallels.com
Mon Mar 25 16:29:34 EDT 2013


On 03/25/2013 07:28 PM, Andrey Vagin wrote:
> Andrey Vagin (8):
>   protobuf: add image for netlink sockets
>   crtools: add a function for showing netlink sockets
>   crtools: add constants for a netlink image
>   crtools: add netlink_diag.h
>   sockets: use socket diag for collecting netlink sockets
>   sockets: dump netlink sockets
>   sockets: restore netlink sockets
>   zdtm: add a test case for netlink sockets
> 
>  Makefile.crtools                   |   1 +
>  cr-restore.c                       |   3 +
>  image.c                            |   1 +
>  include/crtools.h                  |   1 +
>  include/magic.h                    |   1 +
>  include/netlink_diag.h             |  42 +++++++
>  include/protobuf.h                 |   1 +
>  include/sockets.h                  |   5 +
>  protobuf.c                         |   2 +
>  protobuf/Makefile                  |   1 +
>  protobuf/fdinfo.proto              |   1 +
>  protobuf/sk-netlink.proto          |  16 +++
>  sk-netlink.c                       | 252 +++++++++++++++++++++++++++++++++++++
>  sockets.c                          |  11 ++
>  test/zdtm.sh                       |   1 +
>  test/zdtm/live/static/Makefile     |   1 +
>  test/zdtm/live/static/sk-netlink.c | 160 +++++++++++++++++++++++
>  17 files changed, 500 insertions(+)
>  create mode 100644 include/netlink_diag.h
>  create mode 100644 protobuf/sk-netlink.proto
>  create mode 100644 sk-netlink.c
>  create mode 100644 test/zdtm/live/static/sk-netlink.c
> 


Applied


More information about the CRIU mailing list