1. 22 Dec, 2016 2 commits
  2. 21 Dec, 2016 35 commits
  3. 19 Dec, 2016 1 commit
  4. 12 Dec, 2016 2 commits
    • Pavel Emelyanov's avatar
      files: Rework send/recv-fds to be more generic · 60738eaa
      Pavel Emelyanov authored
      Remove getting opts from descriptors out from scm engine,
      this stuff is pure criu thing, so make it collect the data.
      
      The tricky change here is that parasite code needs memory
      to keep fd_opts on. The memory is taken from parasite args
      region, which is now bigger than it used to be. But that's
      not a big deal, as previously this space was allocated on
      the parasite stack (!, but with smaller chunks).
      
      On the other hand, now we have one memcpy less, as opts are
      put directly into the destination buffer.
      
      travis-ci: success for files: Rework send/recv-fds to be more generic
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      60738eaa
    • Cyrill Gorcunov's avatar
      scm: Unweave fds mess · ed4a4b75
      Cyrill Gorcunov authored
      Currently criu built with criu/pie-util-fd (which
      is a symlink to criu/pie/util-fd) with same flags
      as we use in general compel infection code. Moreover
      the criu link with libcompel.a, so we get a problem
      where send_fds/recv_fds are multiple defined. Lets
      rather unweave this mess:
      
       - drop criu/pie-util-fd.c completely
       - move send_fd/recv_fd inliners into scm.h
      Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      ed4a4b75