[CRIU] seccomp zdtm tests compilation error

Tycho Andersen tycho.andersen at canonical.com
Thu Nov 26 17:24:55 PST 2015


Hi Pavel,

On Thu, Nov 26, 2015 at 04:33:58PM +0300, Pavel Emelyanov wrote:
> Hi, Tycho.
> 
> On Travis we have the same error about absent bpf.h file as we had
> in generic criu code:
> 
> https://travis-ci.org/cyrillos/criu/jobs/93309914
> 
> gcc -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -iquote ../../lib/arch/x86/include -I../../lib seccomp_filter_tsync.c ../../lib/libzdtmtst.a -pthread -o seccomp_filter_tsync
> seccomp_filter.c:10:23: fatal error: linux/bpf.h: No such file or directory
> compilation terminated.

Whoops, sorry about that. The attached patch should fix it. [Also
sorry for the delay, I've been mostly AFK for the US national holiday
this week :)]

Tycho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-remove-unused-bpf.h.patch
Type: text/x-diff
Size: 1878 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151126/929ab832/attachment.bin>


More information about the CRIU mailing list