Comment 12 for bug 1755250

Revision history for this message
xantares (xantares09) wrote :

here is a patch against libseccomp 2.3.1 in bionic (on top of the debian risc port patch)

I manually applied changes from libseccomp 2.3.3 that reference the statx syscalls

for the risc part i used the diff from https://github.com/seccomp/libseccomp/blob/2a70ad4f3e8ab80e88f0662a760f4ef1d9219205/src/arch-parisc-syscalls.c

successfully rebuilt the package and tested it on x86_64

please apply for ubuntu bionic

to test it in a docker container you can do:
WORKDIR /tmp
RUN wget -q https://raw.githubusercontent.com/torvalds/linux/master/samples/statx/test-statx.c
RUN gcc test-statx.c -o test-statx
RUN touch test-file
RUN ./test-statx test-file