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 <benh@debian.org>
Wed, 29 Apr 2020 03:46:47 +0000 (04:46 +0100)
commit4443f357ec698c00c053d6b8a60c06f6e7d91c02
tree87cd62731ece7ae78d2fd445f26eb7f78491cd30
parent79dbbfa615a5b5d6d21dfedbc9b7632084facab6
tools/build: Remove bpf() run-time check at build time

Forwarded: no

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