tools/build: Remove bpf() run-time check at build time
authorBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 15:33:15 +0000 (15:33 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 29 Apr 2018 16:09:14 +0000 (17:09 +0100)
commit73f4ac0679ecc2678350262956baa8b95ded5b8f
tree6def31a1175bf5346d15a30eff26f303f7f14d30
parentf53331d944b55af078dc11671d730ef4996cd32e
tools/build: Remove bpf() run-time check at build time

It is not correct to test that a syscall works on the build system's
kernel.  We might be building on an earlier kernel version or with
security restrictions that block bpf().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-build-remove-bpf-run-time-check-at-build-time.patch
tools/build/feature/test-bpf.c