I now isolated this seccomp failure into a tiny .c file which reproduces
this. On amd64 it works:
$ gcc -o /tmp/o ~/seccomp-socket-filter.c -lseccomp && /tmp/o
SCMP_SYS(socket) == 41 == 29
Success
and on i386 it reproduces the error:
$ gcc -o /tmp/o ~/seccomp-socket-filter.c -lseccomp && /tmp/o
Version comparison between the two builds:
- libseccomp-dev: Both versions built against 2.2.3-2ubuntu1
- libc6-dev: 2.21-0ubuntu4 → 2.21-0ubuntu5
- linux-libc-dev: 4.2.0-19.23 → 4.3.0-2.11
- binutils: 2.25.51.20151113-2ubuntu1 → 2.25.90.20151209-1ubuntu1
- gcc-5: 5.2.1-24ubuntu3 →