[CRIU] [PATCH 00/13] Clean up image format and fix anon shmem bits strip

Andrey Vagin avagin at virtuozzo.com
Mon Oct 23 19:28:37 MSK 2017


Where is a test?

On Fri, Oct 20, 2017 at 12:59:31AM +0300, Cyrill Gorcunov wrote:
> The series is pushed into images-lu branch on top of
> 
>  | commit 9bca37c063e52b8a6ef1434de9920d43c069ea2b
>  | Author: Andrei Vagin <avagin at virtuozzo.com>
>  | Date:   Tue Oct 17 09:34:52 2017 +0300
>  |
>  |     zdtm: avoid arithmetic overflow in datagen and datachk
> 
> Travis should run the tests now, so wait for results
> 
> 	https://travis-ci.org/cyrillos/criu/builds/290208336
> 
> There is still one serious problem -- the inode numbers obtained
> from net diag module is stripped down to 32 bits and without
> patching the kernel we are not able to handle it correctly.
> 
> Cyrill Gorcunov (13):
>   namespaces: __get_ns_id -- Use safe snprintf
>   namespaces: Make sure we're not getting stripped inode value
>   image-desc: Fix fdinfo format
>   image-desc: Use unsigned format for autofs
>   image-desc: Use unsigned int for tmpfs dev image
>   image-desc: Use unsigned int for old binfmt-misc
>   image-desc: Use unsigned for mountpoints
>   image-desc: Use unsigned format for netdev
>   image-desc: Use unsigned format for netns
>   image-desc: Use unsigned format for userns
>   image-desc: Use unsigned format for pid driven entries
>   image-desc: Use unsigned format for tmpfs image
>   image-desc: Encode pagemap in unsigned long format
> 
>  criu/cr-dedup.c           | 20 ++++++-------
>  criu/image-desc.c         | 74 +++++++++++++++++++++++------------------------
>  criu/include/namespaces.h |  6 ++++
>  criu/include/page-xfer.h  |  8 ++---
>  criu/include/pagemap.h    |  6 ++--
>  criu/mount.c              |  2 +-
>  criu/namespaces.c         |  3 +-
>  criu/net.c                |  3 +-
>  criu/page-xfer.c          | 44 ++++++++++++++--------------
>  criu/pagemap.c            | 38 ++++++++++++------------
>  10 files changed, 106 insertions(+), 98 deletions(-)
> 
> -- 
> 2.7.5
> 


More information about the CRIU mailing list