[CRIU] [PATCH 0/3] no more link crtools against the syscall lib

Cyrill Gorcunov gorcunov at gmail.com
Mon Feb 8 00:12:19 PST 2016


On Fri, Feb 05, 2016 at 10:54:28PM +0300, Cyrill Gorcunov wrote:
> > Laurent Dufour (3):
> >   build: conditional define of struct prctl_mm_map
> >   namespace: move definition of CLONE_SUBNS
> >   crtools: no more linked with builtin syscall
> 
> Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> Thanks a huge!

xemul@ reported

 | xemul: parasite-syscall.c: In function 'parasite_memfd_exchange':
 | parasite-syscall.c:1199:28: error: '__NR_memfd_create' undeclared (first use in this function)
 |  ret = syscall_seized(ctl, __NR_memfd_create, &sret,


which initially comes from https://ci.openvz.org/job/CRIU-arm-build/27/console
I think there is no __NR_memfd_create syscall number in system headers
and when we've been using our own syscall library we've shipped the
syscalls numbers same time, which is no longer the same once syscalls
are thrown out.

Either we need to upgrade kernel headers on the test system, either
revert the change (if only I don't miss something obvious).

	Cyrill


More information about the CRIU mailing list