1. 30 Oct, 2013 1 commit
    • Cyrill Gorcunov's avatar
      restore: Don't unmap vdso proxy on final cleanup · 0707df77
      Cyrill Gorcunov authored
      In case if we need to use vdso proxy the memory area
      which holds restorer also has a place for vdso proxy
      code itself, so on final pass we should not unmap it,
      otherwise any call to vdso function will cause sigsegv.
      
      IOW, the memory before final "cleanup" pass of restorer
      might look as
      
          +-----------+---------+     +-------------+------+
          | bootstrap | rt-vdso | ... | application | vdso |
          +-----------+---------+     +-------------+------+
                             ^                         |
                             `-------------------------+
      
      and we have redirected "vdso" code to jump to "rt-vdso".
      After final pass the memory must look as
      
                      +---------+     +-------------+------+
                      | rt-vdso | ... | application | vdso |
                      +---------+     +-------------+------+
                             ^                         |
                             `-------------------------+
      
      I noticed this problem during container migration
      testing, the container itself was suspended on 2.6.32
      OpenVZ kernel with apache running inside, and any attempt
      to connect to apache caused apache to crash.
      Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      0707df77
  2. 29 Oct, 2013 6 commits
  3. 28 Oct, 2013 1 commit
  4. 18 Oct, 2013 1 commit
  5. 17 Oct, 2013 2 commits
  6. 15 Oct, 2013 12 commits
  7. 14 Oct, 2013 3 commits
  8. 11 Oct, 2013 7 commits
  9. 10 Oct, 2013 7 commits