Issue found on 5.4.0-48.52~18.04.1
Test build failed with: gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf seccomp_bpf.c: In function ‘get_metadata’: seccomp_bpf.c:3028:26: error: storage size of ‘md’ isn’t known struct seccomp_metadata md; ^~ seccomp_bpf.c:3028:26: warning: unused variable ‘md’ [-Wunused-variable] Makefile:12: recipe for target 'seccomp_bpf' failed
Issue found on 5.4.0-48.52~18.04.1
Test build failed with: bpf.c:3028: 26: error: storage size of ‘md’ isn’t known bpf.c:3028: 26: warning: unused variable ‘md’ [-Wunused-variable]
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘get_metadata’:
seccomp_
struct seccomp_metadata md;
^~
seccomp_
Makefile:12: recipe for target 'seccomp_bpf' failed