With upstream tree, this test still failed on Bionic:
[ RUN ] global.get_metadata
seccomp_bpf.c:3034:global.get_metadata:Expected sizeof(md) (16) == ret (18446744073709551615)
seccomp_bpf.c:3039:global.get_metadata:Expected md.flags (0) == SECCOMP_FILTER_FLAG_LOG (2)
seccomp_bpf.c:3044:global.get_metadata:Expected sizeof(md) (16) == ret (18446744073709551615)
global.get_metadata: Test failed at step #6
[ FAIL ] global.get_metadata
As this test has passed with 4.18 kernel on Bionic, it looks like a kernel issue to me.
With upstream tree, this test still failed on Bionic: bpf.c:3034: global. get_metadata: Expected sizeof(md) (16) == ret (18446744073709 551615) bpf.c:3039: global. get_metadata: Expected md.flags (0) == SECCOMP_ FILTER_ FLAG_LOG (2) bpf.c:3044: global. get_metadata: Expected sizeof(md) (16) == ret (18446744073709 551615) get_metadata: Test failed at step #6
[ RUN ] global.get_metadata
seccomp_
seccomp_
seccomp_
global.
[ FAIL ] global.get_metadata
As this test has passed with 4.18 kernel on Bionic, it looks like a kernel issue to me.