aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2020-12-02 17:49:47 +0000
committerAlexei Starovoitov <[email protected]>2020-12-03 18:22:45 +0000
commita874c8c389a12b9f5ab67ba01995f06bf82e94fe (patch)
treea8d69545f9e94a6b2ea3d176617161ef356e7999 /tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c
parentMerge branch 'bpftool: improve split BTF support' (diff)
downloadkernel-a874c8c389a12b9f5ab67ba01995f06bf82e94fe.tar.gz
kernel-a874c8c389a12b9f5ab67ba01995f06bf82e94fe.zip
selftests/bpf: Copy file using read/write in local storage test
Splice (copy_file_range) doesn't work on all filesystems. I'm running test kernels on top of my read-only disk image and it uses plan9 under the hood. This prevents test_local_storage from successfully passing. There is really no technical reason to use splice, so lets do old-school read/write to copy file; this should work in all environments. Signed-off-by: Stanislav Fomichev <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c')
0 files changed, 0 insertions, 0 deletions