aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tcp_rtt.c
diff options
context:
space:
mode:
authorTony Ambardar <[email protected]>2024-07-23 05:54:37 +0000
committerAndrii Nakryiko <[email protected]>2024-07-29 22:05:07 +0000
commit21f0b0af977203220ad58aff95e372151288ec47 (patch)
tree15207e6d0210aa16d8d0c6893c3966a22b73fa6b /tools/testing/selftests/bpf/prog_tests/tcp_rtt.c
parentselftests/bpf: Fix missing BUILD_BUG_ON() declaration (diff)
downloadkernel-21f0b0af977203220ad58aff95e372151288ec47.tar.gz
kernel-21f0b0af977203220ad58aff95e372151288ec47.zip
selftests/bpf: Fix include of <sys/fcntl.h>
Update ns_current_pid_tgid.c to use '#include <fcntl.h>' and avoid compile error against mips64el/musl libc: In file included from .../prog_tests/ns_current_pid_tgid.c:14: .../include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp] 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> | ^~~~~~~ cc1: all warnings being treated as errors Fixes: 09c02d553c49 ("bpf, selftests: Fold test_current_pid_tgid_new_ns into test_progs.") Signed-off-by: Tony Ambardar <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/8bdc869749177b575025bf69600a4ce591822609.1721713597.git.tony.ambardar@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_rtt.c')
0 files changed, 0 insertions, 0 deletions