1. 06 Jun, 2014 1 commit
  2. 04 Jun, 2014 2 commits
  3. 02 Jun, 2014 1 commit
  4. 27 May, 2014 12 commits
  5. 26 May, 2014 6 commits
  6. 23 May, 2014 2 commits
  7. 20 May, 2014 1 commit
  8. 14 May, 2014 3 commits
  9. 13 May, 2014 4 commits
  10. 12 May, 2014 5 commits
  11. 07 May, 2014 3 commits
    • Andrey Vagin's avatar
      zdtm: add a new test case for growdown vma-s · 63c9478a
      Andrey Vagin authored
      This test case creates two consecutive grows down vmas with a hole
      between them.
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      63c9478a
    • Andrey Vagin's avatar
      mem: add a guard page only if here is enough space for it · 20ec5859
      Andrey Vagin authored
      Currently we don't add a guard page to a second consecutive growsdonw vma,
      even if here is enough space for it. It's wrong. Look at the following test
      output:
      
      Execute zdtm/live/static/grow_map03
      ./grow_map03 --pidfile=grow_map03.pid --outfile=grow_map03.out
      Dump 3888
      Restore
      Test: zdtm/live/static/grow_map03, Result: FAIL
      ==================================== ERROR ====================================
      Test: zdtm/live/static/grow_map03, Namespace:
      Dump log   : /root/git/criu/test/dump/grow_map03/3888/1/dump.log
      --------------------------------- grep Error ---------------------------------
      ------------------------------------- END -------------------------------------
      Restore log: /root/git/criu/test/dump/grow_map03/3888/1/restore.log
      --------------------------------- grep Error ---------------------------------
      pie: Error (pie/restorer.c:465): Unable to remap 0x7f0da2c99000 -> 0x7f46425fc000
      pie: Error (pie/restorer.c:969): Restorer fail 3888
      (00.035621) Error (cr-restore.c:1590): Restoring FAILED.
      ------------------------------------- END -------------------------------------
      ================================= ERROR OVER =================================
      
      strace:
      mremap(0x7fc3de5b6000, 0, 0, MREMAP_MAYMOVE|MREMAP_FIXED, 0x7f38dd4e0000) = -1 EINVAL (Invalid argument)
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      20ec5859
    • Andrey Vagin's avatar
      util: use glibc macros to generate device numbers in the dev_t format · 3a9c6a3d
      Andrey Vagin authored
      Our version of macroses are worng.
      
      Our macros:
      #define MINOR(dev)           ((dev) & 0xff)
      
      Glibc function:
      return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
      Reported-by: 's avatarAmey Deshpande <ameyd@google.com>
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      3a9c6a3d