[CRIU] [PATCH v6 3/3] Try to include userfaultfd with criu (part 2)

Pavel Emelyanov xemul at virtuozzo.com
Thu Mar 17 06:34:59 PDT 2016


Hi, Adrian :)

After merging all these patches the build started to fail like this:

pie/restorer.c: In function ‘enable_uffd’:
pie/restorer.c:591:40: error: passing argument 3 of ‘sys_ioctl’ makes integer from pointer without a cast [-Werror=int-conversion]
  rc = sys_ioctl(uffd, UFFDIO_REGISTER, &uffdio_register);
                                        ^
In file included from pie/restorer.c:20:0:
/var/lib/jenkins/workspace/CRIU-iter/criu/include/syscall.h:21:13: note: expected ‘long unsigned int’ but argument is of type ‘struct uffdio_register *’
 extern long sys_ioctl (unsigned int fd, unsigned int cmd, unsigned long arg) ;

-- Pavel


More information about the CRIU mailing list