1. 12 Jan, 2017 3 commits
    • Adrian Reber's avatar
      zdtm: fix '"makedev" is defined by <sys/sysmacros.h>' · 9a5ff1a0
      Adrian Reber authored
      Compiling zdtm on the latest Fedora rawhide gives errors like this:
      
      ns.c: In function ‘prepare_mntns’:
      ns.c:122:13: error: In the GNU C Library, "makedev" is defined
       by <sys/sysmacros.h>. For historical compatibility, it is
       currently defined by <sys/types.h> as well, but we plan to
       remove this soon. To use "makedev", include <sys/sysmacros.h>
       directly. If you did not intend to use a system-defined macro
       "makedev", you should undefine it after including <sys/types.h>. [-Werror]
         if (mknod("/dev/ptmx", 0666 | S_IFCHR, makedev(5, 2)) == 0) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
      
      This commit fixes those errors.
      
      travis-ci: success for zdtm: fix '"makedev" is defined by <sys/sysmacros.h>'
      Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      9a5ff1a0
    • Pavel Emelyanov's avatar
      util: Do not leak dup-ed file descriptor · aa1d24a7
      Pavel Emelyanov authored
      When going daemon criu services ask cr_daemon() to keep
      some descriptors open and the routine dup2-s them. The
      problem is that the original descriptor is left where it
      was and is leaked.
      
      travis-ci: success for util: Do not leak dup-ed file descriptor
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      aa1d24a7
    • Andrei Vagin's avatar
      test: check non-root shared mounts · 879d6d1e
      Andrei Vagin authored
      The idea of this test is to check non-root shared mounts
      which lives in a few shared groups.
      
      v2: fix the link description.
      
      travis-ci: success for test: check non-root shared mounts (rev2)
      Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      879d6d1e
  2. 22 Dec, 2016 11 commits
  3. 21 Dec, 2016 26 commits