summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf
AgeCommit message (Expand)AuthorFilesLines
2021-03-20selftests/bpf: Add selftest for pointer-to-array-of-struct BTF dumpJean-Philippe Brucker1-0/+8
2021-03-18selftest/bpf: Add a test to check trampoline freeing logic.Alexei Starovoitov2-0/+113
2021-03-17bpf, selftests: Fix up some test_verifier cases for unprivilegedPiotr Krysiuk4-10/+59
2021-03-15selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failedHangbin Liu1-4/+2
2021-03-09selftests/bpf: Tests using bpf_check_mtu BPF-helper input mtu_len paramJesper Dangaard Brouer2-0/+96
2021-03-05bpf: Explicitly zero-extend R0 after 32-bit cmpxchgBrendan Jackman2-0/+50
2021-03-02selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifierYauheni Kaliuta1-1/+2
2021-03-02selftests/bpf: Use the last page in test_snprintf_btf on s390Ilya Leoshkevich1-3/+10
2021-02-24selftests/bpf: No need to drop the packet when there is no geneve optHangbin Liu1-4/+2
2021-02-24selftests/bpf: Fix a compiler warning in global func testDmitrii Banshchikov1-1/+1
2021-02-22bpf, x86: Fix BPF_FETCH atomic and/or/xor with r0 as srcBrendan Jackman1-0/+23
2021-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-7/+3
2021-02-13selftests/bpf: Add unit tests for pointers in global functionsDmitrii Banshchikov11-0/+449
2021-02-13selftests/bpf: Tests using bpf_check_mtu BPF-helperJesper Dangaard Brouer2-0/+414
2021-02-13selftests/bpf: Use bpf_check_mtu in selftest test_cls_redirectJesper Dangaard Brouer1-0/+7
2021-02-12selftests/bpf: Add test for bpf_iter_task_vmaSong Liu3-10/+174
2021-02-12bpf: selftests: Add non function pointer test to struct_opsMartin KaFai Lau1-0/+1
2021-02-12selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookieFlorent Revest2-6/+41
2021-02-12selftests/bpf: Use vmlinux.h in socket_cookie_prog.cFlorent Revest1-5/+6
2021-02-12selftests/bpf: Integrate the socket_cookie test to test_progsFlorent Revest5-213/+72
2021-02-11selftests/bpf: Convert test_xdp_redirect.sh to bashBjörn Töpel1-7/+3
2021-02-11selftests/bpf: Add a test for map-in-map and per-cpu maps in sleepable progsAlexei Starovoitov1-0/+69
2021-02-11selftests/bpf: Improve recursion selftestAlexei Starovoitov1-0/+8
2021-02-11selftest/bpf: Add a recursion testAlexei Starovoitov2-0/+79
2021-02-11bpf: Add per-program recursion prevention mechanismAlexei Starovoitov2-4/+4
2021-02-10selftests/bpf: Simplify the calculation of variablesJiapeng Chong1-3/+3
2021-02-10selftests/bpf: Fix endianness issues in atomic testsIlya Leoshkevich3-3/+3
2021-02-10selftest/bpf: Add test for var-offset stack accessAndrei Matei2-0/+86
2021-02-10selftest/bpf: Verifier tests for var-off accessAndrei Matei1-2/+97
2021-02-10selftest/bpf: Adjust expected verifier errorsAndrei Matei9-37/+41
2021-02-09selftests/bpf: Add missing cleanup in atomic_bounds testBrendan Jackman1-0/+2
2021-02-09selftests/bpf: Remove unneeded semicolonYang Li1-1/+1
2021-02-09bpf/benchs/bench_ringbufs: Remove unneeded semicolonYang Li1-1/+1
2021-02-05bpf/selftests: Update the IMA test to use BPF ring bufferKP Singh2-13/+43
2021-02-05bpf/selftests: Add a short note about vmtest.sh in README.rstKP Singh1-0/+24
2021-02-05bpf: Helper script for running BPF presubmit testsKP Singh1-0/+368
2021-02-04selftest/bpf: Testing for multiple logs on REJECTAndrei Matei1-3/+13
2021-02-03selftests/bpf: Fix a compiler warning in local_storage testKP Singh1-1/+1
2021-02-03bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCHBrendan Jackman3-0/+66
2021-01-29bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_RECVMSGStanislav Fomichev2-0/+10
2021-01-29selftests/bpf: Rewrite recvmsg{4,6} asm progs to c in test_sock_addrStanislav Fomichev3-74/+92
2021-01-29bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_INET{4,6}_GET{PEER,SOCK}NAMEStanislav Fomichev2-0/+16
2021-01-29bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_SENDMSGStanislav Fomichev3-0/+33
2021-01-29tools: Factor Clang, LLC and LLVM utils definitionsSedat Dilek1-2/+0
2021-01-28selftests/bpf: Verify that rebinding to port < 1024 from BPF worksStanislav Fomichev2-0/+154
2021-01-26selftests/bpf: Don't exit on failed bpf_testmod unloadAndrii Nakryiko1-1/+1
2021-01-26selftests/bpf: Avoid useless void *-castsBjörn Töpel1-5/+5
2021-01-26selftests/bpf: Consistent malloc/calloc usageBjörn Töpel1-7/+7
2021-01-26selftests/bpf: Avoid heap allocationBjörn Töpel1-5/+4
2021-01-26selftests/bpf: Define local variables at the beginning of a blockBjörn Töpel1-5/+7