diff options
| author | Tony Ambardar <[email protected]> | 2024-07-23 05:54:31 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-07-29 22:05:07 +0000 |
| commit | 69f409469c9b1515a5db40d5a36fda372376fa2d (patch) | |
| tree | 080bbd68108bde77c67a6612e23b082ea1db8651 /tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c | |
| parent | selftests/bpf: Fix error compiling bpf_iter_setsockopt.c with musl libc (diff) | |
| download | kernel-69f409469c9b1515a5db40d5a36fda372376fa2d.tar.gz kernel-69f409469c9b1515a5db40d5a36fda372376fa2d.zip | |
selftests/bpf: Drop unneeded error.h includes
The addition of general support for unprivileged tests in test_loader.c
breaks building test_verifier on non-glibc (e.g. musl) systems, due to the
inclusion of glibc extension '<error.h>' in 'unpriv_helpers.c'. However,
the header is actually not needed, so remove it to restore building.
Similarly for sk_lookup.c and flow_dissector.c, error.h is not necessary
and causes problems, so drop them.
Fixes: 1d56ade032a4 ("selftests/bpf: Unprivileged tests for test_loader.c")
Fixes: 0ab5539f8584 ("selftests/bpf: Tests for BPF_SK_LOOKUP attach point")
Fixes: 0905beec9f52 ("selftests/bpf: run flow dissector tests in skb-less mode")
Signed-off-by: Tony Ambardar <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/5664367edf5fea4f3f4b4aec3b182bcfc6edff9c.1721713597.git.tony.ambardar@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c')
0 files changed, 0 insertions, 0 deletions
