Clean up image format and fix anon shmem bits strip

Submitted by Cyrill Gorcunov on Oct. 19, 2017, 9:59 p.m.

Details

Reviewer None
Submitted Oct. 19, 2017, 9:59 p.m.
Last Updated Oct. 26, 2017, 1:23 a.m.
Revision 2

Cover Letter

Travis should run the tests now, so wait for results

https://travis-ci.org/cyrillos/criu/builds/292501341

Cyrill Gorcunov (15):
  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
  fault-injection: Add FI_HUGE_ANON_SHMEM_ID type
  test: jenkins -- Add huge shmid fault into the tests

 criu/cr-dedup.c                | 20 ++++++------
 criu/image-desc.c              | 74 +++++++++++++++++++++---------------------
 criu/include/fault-injection.h |  3 ++
 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 +++++++++++-----------
 criu/proc_parse.c              | 10 +++++-
 test/jenkins/criu-fault.sh     |  1 +
 13 files changed, 119 insertions(+), 99 deletions(-)
  

Revisions