1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/bpf/progs
Yonghong Song 662c3e2db0 selftests/bpf: Add a test to verify previous stacksafe() fix
A selftest is added such that without the previous patch,
a crash can happen. With the previous patch, the test can
run successfully. The new test is written in a way which
mimics original crash case:
  main_prog
    static_prog_1
      static_prog_2
where static_prog_1 has different paths to static_prog_2
and some path has stack allocated and some other path
does not. A stacksafe() checking in static_prog_2()
triggered the crash.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240812214852.214037-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-08-12 18:15:33 -07:00
..
access_map_in_map.c selftests/bpf: Add test cases for inner map 2023-12-04 17:50:27 -08:00
arena_atomics.c selftests/bpf: Add UAF tests for arena atomics 2024-07-02 18:31:52 +02:00
arena_htab.c selftests/bpf: Add tests for add_const 2024-06-14 21:52:40 +02:00
arena_htab_asm.c selftests/bpf: Add bpf_arena_htab test. 2024-03-11 15:43:43 -07:00
arena_list.c bpf: selftests: Do not use generated kfunc prototypes for arena progs 2024-06-13 11:18:43 -07:00
async_stack_depth.c bpf: Fix test verif_scale_strobemeta_subprogs failure due to llvm19 2024-02-15 13:45:27 -08:00
atomic_bounds.c bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH 2021-02-02 18:23:29 -08:00
atomics.c bpf, selftests: Use raw_tp program for atomic test 2022-02-28 16:28:40 +01:00
bad_struct_ops.c selftests/bpf: Bad_struct_ops test 2024-03-06 15:18:15 -08:00
bad_struct_ops2.c selftests/bpf: Verify struct_ops autoload/autocreate sync 2024-03-06 15:18:15 -08:00
bench_local_storage_create.c bpf: Fix verifier assumptions about socket->sk 2024-04-29 14:16:41 -07:00
bind4_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
bind6_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
bind_perm.c selftests/bpf: Verify that rebinding to port < 1024 from BPF works 2021-01-27 18:18:15 -08:00
bind_prog.h selftests/bpf: Fix bind program for big endian systems 2024-05-02 12:09:22 -07:00
bloom_filter_bench.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
bloom_filter_map.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
bpf_cc_cubic.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
bpf_compiler.h bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
bpf_cubic.c selftests/bpf: Use bpf_tracing_net.h in bpf_cubic 2024-05-09 11:13:12 -07:00
bpf_dctcp.c bpf: selftests: Namespace struct_opt callbacks in bpf_dctcp 2024-06-12 11:01:31 -07:00
bpf_dctcp_release.c selftests/bpf: Remove bpf_tcp_helpers.h usages from other misc bpf tcp-cc tests 2024-05-09 11:13:12 -07:00
bpf_flow.c selftests/bpf: Fix BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL for empty flow label 2023-02-22 13:13:13 -08:00
bpf_hashmap_full_update_bench.c selftest/bpf/benchs: Add bpf_map benchmark 2022-06-11 14:25:35 -07:00
bpf_hashmap_lookup.c selftest/bpf/benchs: Add benchmark for hashmap lookups 2023-02-15 16:29:31 -08:00
bpf_iter.h selftests/bpf: Test cgroup_iter. 2022-08-25 11:35:37 -07:00
bpf_iter_bpf_array_map.c selftests/bpf: Remove unused 'key_t' structs 2024-06-03 16:52:57 +02:00
bpf_iter_bpf_hash_map.c selftests/bpf: Ensure sleepable program is rejected by hash map iter 2022-08-10 10:12:48 -07:00
bpf_iter_bpf_link.c selftests/bpf: Add bpf link iter test 2022-05-10 11:20:45 -07:00
bpf_iter_bpf_map.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_bpf_percpu_array_map.c selftests/bpf: Remove unused 'key_t' structs 2024-06-03 16:52:57 +02:00
bpf_iter_bpf_percpu_hash_map.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
bpf_iter_bpf_sk_storage_helpers.c selftests/bpf: Test bpf_sk_storage_get in tcp iterators 2020-12-04 22:32:40 +01:00
bpf_iter_bpf_sk_storage_map.c selftests/bpf: Add write tests for sk local storage map iterator 2022-08-10 10:12:48 -07:00
bpf_iter_ipv6_route.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_ksym.c kallsyms: remove unused arch_get_kallsym() helper 2023-05-26 10:38:23 -07:00
bpf_iter_netlink.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_setsockopt.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
bpf_iter_setsockopt_unix.c selftest/bpf: Test batching and bpf_(get|set)sockopt in bpf unix iter. 2022-01-18 15:45:06 -08:00
bpf_iter_sockmap.c selftest: bpf: Test copying a sockmap and sockhash 2020-09-28 16:48:02 -07:00
bpf_iter_task_btf.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_task_file.c selftests/bpf: Test parameterized task BPF iterators. 2022-09-28 16:30:03 -07:00
bpf_iter_task_stack.c selftests/bpf: Add assert for user stacks in test_task_stack 2023-11-13 18:39:38 -08:00
bpf_iter_task_vmas.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
bpf_iter_tasks.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
bpf_iter_tcp4.c selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP 2021-08-06 17:16:33 +02:00
bpf_iter_tcp6.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_test_kern1.c tools/bpf: selftests: Add bpf_iter selftests 2020-05-09 17:05:27 -07:00
bpf_iter_test_kern2.c tools/bpf: selftests: Add bpf_iter selftests 2020-05-09 17:05:27 -07:00
bpf_iter_test_kern3.c selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07:00
bpf_iter_test_kern4.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
bpf_iter_test_kern5.c selftests/bpf: Add a test for out of bound rdonly buf access 2020-07-25 20:16:34 -07:00
bpf_iter_test_kern6.c selftests/bpf: Test bpf_iter buffer access with negative offset 2020-07-31 00:43:49 +02:00
bpf_iter_test_kern_common.h selftests/bpf: Move newer bpf_iter_* type redefining to a new header file 2020-06-24 18:37:59 -07:00
bpf_iter_udp4.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_udp6.c libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_iter_unix.c selftest/bpf: Fix a stale comment. 2022-01-18 15:45:06 -08:00
bpf_iter_vma_offset.c selftests/bpf: Test parameterized task BPF iterators. 2022-09-28 16:30:03 -07:00
bpf_loop.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
bpf_loop_bench.c selftests/bpf: fix bpf_loop_bench for new callback verification scheme 2023-11-20 18:33:35 -08:00
bpf_misc.h selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
bpf_mod_race.c selftests/bpf: Add test for race in btf_try_get_module 2022-01-18 14:27:39 -08:00
bpf_syscall_macro.c selftests/bpf: Add 6-argument syscall tracing test 2023-01-23 20:53:01 +01:00
bpf_tcp_nogpl.c selftests/bpf: Remove bpf_tcp_helpers.h usages from other misc bpf tcp-cc tests 2024-05-09 11:13:12 -07:00
bpf_tracing_net.h selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
bprm_opts.c selftests/bpf: Fix a compile error for BPF_F_BPRM_SECUREEXEC 2020-12-29 15:16:21 +01:00
btf__core_reloc_arrays.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___diff_arr_dim.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___diff_arr_val_sz.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___equiv_zero_sz_arr.c selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
btf__core_reloc_arrays___err_bad_zero_sz_arr.c selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
btf__core_reloc_arrays___err_non_array.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___err_too_shallow.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___err_too_small.c selftests/bpf: add CO-RE relocs array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_arrays___err_wrong_val_type.c selftests/bpf: Remove too strict field offset relo test cases 2019-11-04 16:06:56 +01:00
btf__core_reloc_arrays___fixed_arr.c selftests/bpf: Add flexible array relocation tests 2019-12-15 16:53:51 -08:00
btf__core_reloc_bitfields.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___bit_sz_change.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___bitfield_vs_int.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___err_too_big_bitfield.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_bitfields___just_big_enough.c selftest/bpf: Add relocatable bitfield reading tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_enum64val.c selftests/bpf: Add a test for enum64 value relocations 2022-06-07 10:20:44 -07:00
btf__core_reloc_enum64val___diff.c selftests/bpf: Add a test for enum64 value relocations 2022-06-07 10:20:44 -07:00
btf__core_reloc_enum64val___err_missing.c selftests/bpf: Add a test for enum64 value relocations 2022-06-07 10:20:44 -07:00
btf__core_reloc_enum64val___val3_missing.c selftests/bpf: Add a test for enum64 value relocations 2022-06-07 10:20:44 -07:00
btf__core_reloc_enumval.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_enumval___diff.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_enumval___err_missing.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_enumval___val3_missing.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_existence.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___minimal.c selftests/bpf: Add field existence CO-RE relocs tests 2019-10-15 16:06:05 -07:00
btf__core_reloc_existence___wrong_field_defs.c selftests/bpf: Fix field existence CO-RE reloc tests 2021-04-26 18:37:13 -07:00
btf__core_reloc_flavors.c selftests/bpf: add CO-RE relocs struct flavors tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_flavors__err_wrong_name.c selftests/bpf: add CO-RE relocs struct flavors tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ints.c selftests/bpf: add CO-RE relocs ints tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ints___bool.c selftests/bpf: add CO-RE relocs ints tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ints___reverse_sign.c selftests/bpf: add CO-RE relocs ints tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_misc.c selftests/bpf: add CO-RE relocs misc tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_mods.c selftests/bpf: add CO-RE relocs modifiers/typedef tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_mods___mod_swap.c selftests/bpf: add CO-RE relocs modifiers/typedef tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_mods___typedefs.c selftests/bpf: add CO-RE relocs modifiers/typedef tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___anon_embed.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___dup_compat_types.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_array_container.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_array_field.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_dup_incompat_types.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_missing_container.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_missing_field.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_nonstruct_container.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_partial_match_dups.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___err_too_deep.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___extra_nesting.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_nesting___struct_union_mixup.c selftests/bpf: add CO-RE relocs nesting tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___diff_enum_def.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___diff_func_proto.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___diff_ptr_type.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___err_non_enum.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___err_non_int.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_primitives___err_non_ptr.c selftests/bpf: add CO-RE relocs enum/ptr/func_proto tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ptr_as_arr.c selftests/bpf: add CO-RE relocs ptr-as-array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_ptr_as_arr___diff_sz.c selftests/bpf: add CO-RE relocs ptr-as-array tests 2019-08-07 14:43:49 -07:00
btf__core_reloc_size.c selftests/bpf: Add field size relocation tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_size___diff_offs.c selftests/bpf: Add bpf_core_field_offset() tests 2022-05-09 17:15:32 +02:00
btf__core_reloc_size___diff_sz.c selftests/bpf: Add field size relocation tests 2019-11-04 16:06:56 +01:00
btf__core_reloc_size___err_ambiguous.c selftests/bpf: Add test validating failure on ambiguous relocation value 2020-08-18 18:12:46 -07:00
btf__core_reloc_type_based.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___all_missing.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___diff.c selftests/bpf: Add test checking more characteristics 2022-07-05 21:15:19 -07:00
btf__core_reloc_type_based___diff_sz.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___fn_wrong_args.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_based___incompat.c selftests/bpf: Test TYPE_EXISTS and TYPE_SIZE CO-RE relocations 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_id.c selftests/bpf: Add CO-RE relo test for TYPE_ID_LOCAL/TYPE_ID_TARGET 2020-08-19 14:19:39 -07:00
btf__core_reloc_type_id___missing_targets.c selftests/bpf: Add CO-RE relo test for TYPE_ID_LOCAL/TYPE_ID_TARGET 2020-08-19 14:19:39 -07:00
btf_data.c selftests/bpf: Add test for resolve_btfids 2020-07-13 10:42:03 -07:00
btf_dump_test_case_bitfields.c libbpf: Fix BTF-to-C converter's padding logic 2022-12-15 00:05:13 +01:00
btf_dump_test_case_multidim.c libbpf: Fix no-args func prototype BTF dumping syntax 2024-07-17 22:42:47 +02:00
btf_dump_test_case_namespacing.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_ordering.c selftests/bpf: add btf_dump BTF-to-C conversion tests 2019-05-24 14:05:58 -07:00
btf_dump_test_case_packing.c libbpf: Fix btf_dump's packed struct determination 2022-12-15 22:50:17 +01:00
btf_dump_test_case_padding.c selftests/bpf: Add few corner cases to test padding handling of btf_dump 2022-12-15 00:05:13 +01:00
btf_dump_test_case_syntax.c libbpf: Fix no-args func prototype BTF dumping syntax 2024-07-17 22:42:47 +02:00
btf_ptr.h selftests/bpf: Ensure snprintf_btf/bpf_iter tests compatibility with old vmlinux.h 2020-09-29 11:10:48 -07:00
btf_type_tag.c selftests/bpf: Add a C test for btf_type_tag 2021-11-11 17:41:11 -08:00
btf_type_tag_percpu.c bpf: Tighten ptr_to_btf_id checks. 2022-11-30 15:33:48 -08:00
btf_type_tag_user.c selftests/bpf: add a selftest with __user tag 2022-01-27 12:03:46 -08:00
cb_refs.c bpf: verify callbacks as if they are called unknown number of times 2023-11-20 18:35:44 -08:00
cg_storage_multi.h selftests/bpf: Test CGROUP_STORAGE map can't be used by multiple progs 2020-07-25 20:16:35 -07:00
cg_storage_multi_egress_only.c selftests/bpf: Test CGROUP_STORAGE map can't be used by multiple progs 2020-07-25 20:16:35 -07:00
cg_storage_multi_isolated.c selftests/bpf: Normalize all the rest SEC() uses 2021-09-28 13:51:19 -07:00
cg_storage_multi_shared.c selftests/bpf: Normalize all the rest SEC() uses 2021-09-28 13:51:19 -07:00
cgroup_getset_retval_getsockopt.c selftests/bpf: Correctly handle optlen > 4096 2023-05-13 16:55:46 -07:00
cgroup_getset_retval_hooks.c selftests/bpf: Make sure bpf_{g,s}et_retval is exposed everywhere 2022-08-23 16:08:22 -07:00
cgroup_getset_retval_setsockopt.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
cgroup_hierarchical_stats.c selftests/bpf: Simplify cgroup_hierarchical_stats selftest 2022-09-23 13:59:08 -07:00
cgroup_iter.c selftests/bpf: Test cgroup_iter. 2022-08-25 11:35:37 -07:00
cgroup_skb_sk_lookup_kern.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
cgroup_tcp_skb.c selftests/bpf: Verify that the cgroup_skb filters receive expected packets. 2023-06-30 16:09:27 +02:00
cgrp_kfunc_common.h selftests/bpf: Verify calling core kfuncs from BPF_PROG_TYPE_SYCALL 2024-04-05 10:58:10 -07:00
cgrp_kfunc_failure.c bpf: reuse btf_prepare_func_args() check for main program BTF validation 2023-12-19 18:06:46 -08:00
cgrp_kfunc_success.c bpf: Remove bpf_cgroup_kptr_get() kfunc 2023-04-12 12:57:54 -07:00
cgrp_ls_attach_cgroup.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
cgrp_ls_negative.c selftests/bpf: Add selftests for new cgroup local storage 2022-10-25 23:19:19 -07:00
cgrp_ls_recursion.c bpf: Allow compiler to inline most of bpf_local_storage_lookup() 2024-02-11 14:06:24 -08:00
cgrp_ls_sleepable.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
cgrp_ls_tp_btf.c selftests/bpf: Add selftests for cgroup1 local storage 2023-12-08 17:08:18 -08:00
connect4_dropper.c selftests/bpf: Make cgroup_v1v2 use its own port 2021-10-08 15:10:43 -07:00
connect4_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
connect6_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
connect_force_port4.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
connect_force_port6.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
connect_ping.c selftests/bpf: Ensure cgroup/connect{4,6} programs can bind unpriv ICMP ping 2022-09-09 10:40:45 -07:00
connect_unix_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
core_kern.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
core_kern_overflow.c selftests/bpf: Test bpf_core_types_are_compat() functionality. 2022-02-04 11:29:01 -08:00
core_reloc_types.h selftests/bpf: Add test involving restrict type qualifier 2022-07-08 14:27:03 +02:00
cpumask_common.h bpf: Avoid __hidden__ attribute in static object 2024-05-07 14:31:20 -07:00
cpumask_failure.c selftests/bpf: Fix a few tests for GCC related warnings. 2024-05-12 17:25:14 -07:00
cpumask_success.c selftests/bpf: Test kptr arrays and kptrs in nested struct fields. 2024-06-03 20:52:42 -07:00
crypto_basic.c selftests: bpf: crypto skcipher algo selftests 2024-04-24 16:01:10 -07:00
crypto_bench.c selftests: bpf: crypto: adjust bench to use nullable IV 2024-06-13 16:33:04 -07:00
crypto_common.h selftests: bpf: crypto skcipher algo selftests 2024-04-24 16:01:10 -07:00
crypto_sanity.c selftests: bpf: crypto: use NULL instead of 0-sized dynptr 2024-06-13 16:33:04 -07:00
decap_sanity.c selftests/bpf: Test bpf_skb_adjust_room on CHECKSUM_PARTIAL 2022-12-22 00:56:27 +01:00
dev_cgroup.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
dummy_st_ops_fail.c bpf/selftests: Verify struct_ops prog sleepable behavior 2023-01-25 10:25:57 -08:00
dummy_st_ops_success.c selftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops 2024-04-25 12:42:43 -07:00
dynptr_fail.c bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type check 2024-06-26 13:17:32 -07:00
dynptr_success.c selftests/bpf: Fix dynptr/test_dynptr_is_null 2023-05-17 16:52:26 +02:00
empty_skb.c selftests/bpf: Make sure zero-len skbs aren't redirectable 2022-11-21 12:47:04 -08:00
err.h selftests/bpf: Add err.h header 2023-03-31 09:40:16 -07:00
exceptions.c bpf: Introduce "volatile compare" macros 2024-01-03 10:58:42 -08:00
exceptions_assert.c selftests/bpf: Convert exceptions_assert.c to bpf_cmp 2024-01-03 11:08:23 -08:00
exceptions_ext.c selftests/bpf: Add tests for BPF exceptions 2023-09-16 09:36:43 -07:00
exceptions_fail.c bpf: enforce precise retval range on program exit 2023-12-02 11:36:50 -08:00
exhandler_kern.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
fentry_many_args.c selftests/bpf: add testcase for TRACING with 6+ arguments 2023-07-13 16:04:56 -07:00
fentry_recursive.c selftests/bpf: Add test for recursive attachment of tracing progs 2024-01-04 20:40:14 -08:00
fentry_recursive_target.c selftests/bpf: Test re-attachment fix for bpf_tracing_prog_attach 2024-01-04 20:40:49 -08:00
fentry_test.c bpf: Fix warning comparing pointer to 0 2021-03-10 13:37:33 -08:00
fexit_bpf2bpf.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
fexit_bpf2bpf_simple.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
fexit_many_args.c selftests/bpf: add testcase for TRACING with 6+ arguments 2023-07-13 16:04:56 -07:00
fexit_sleep.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
fexit_test.c selftests/bpf: Fix warning comparing pointer to 0 2021-03-16 23:52:16 +01:00
fib_lookup.c selftests/bpf: Remove bpf_tracing_net.h usages from two networking tests 2024-05-09 11:13:11 -07:00
find_vma.c selftests/bpf: Add tests for bpf_find_vma 2021-11-07 11:54:51 -08:00
find_vma_fail1.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
find_vma_fail2.c selftests/bpf: Add tests for bpf_find_vma 2021-11-07 11:54:51 -08:00
fmod_ret_freplace.c selftests: Add selftest for disallowing modify_return attachment to freplace 2020-09-29 13:09:24 -07:00
for_each_array_map_elem.c bpf: selftest: Trigger a DCE on the whole subprog 2021-11-06 12:54:12 -07:00
for_each_hash_map_elem.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
for_each_map_elem_write_key.c selftests/bpf: Test for writes to map key from BPF helpers 2022-04-06 10:32:12 -07:00
for_each_multi_maps.c selftests/bpf: add test for bpf_for_each_map_elem() with different maps 2024-04-05 10:31:18 -07:00
freplace_attach_probe.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
freplace_cls_redirect.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
freplace_connect4.c selftests/bpf: Add test for freplace program with expected_attach_type 2020-04-24 17:34:30 -07:00
freplace_connect_v4_prog.c selftests/bpf: Test for checking return code for the extended prog 2020-08-26 12:47:56 -07:00
freplace_dead_global_func.c selftests/bpf: validate eliminated global subprog is not freplaceable 2023-12-11 19:16:32 -08:00
freplace_get_constant.c selftests: Add selftest for disallowing modify_return attachment to freplace 2020-09-29 13:09:24 -07:00
freplace_global_func.c selftests/bpf: Add selftest for calling global functions from freplace 2022-06-07 10:41:20 -07:00
freplace_progmap.c selftests/bpf: Add a test for using a cpumap from an freplace-to-XDP program 2022-12-14 21:30:40 -08:00
freplace_unreliable_prog.c selftests/bpf: add freplace of BTF-unreliable main prog test 2023-12-19 18:06:47 -08:00
get_branch_snapshot.c minmax: add in_range() macro 2023-08-24 16:20:18 -07:00
get_cgroup_id_kern.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
get_func_args_test.c selftests/bpf: Add tests for get_func_[arg|ret|arg_cnt] helpers 2021-12-13 09:25:59 -08:00
get_func_ip_test.c bpf: selftests: Fix fentry test kfunc prototypes 2024-06-12 11:01:30 -07:00
get_func_ip_uprobe_test.c selftests/bpf: Add bpf_get_func_ip test for uprobe inside function 2023-08-07 16:42:58 -07:00
getpeername4_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getpeername6_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getpeername_unix_prog.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
getsockname4_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getsockname6_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getsockname_unix_prog.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
htab_mem_bench.c selftests/bpf: Add benchmark for bpf memory allocator 2023-07-05 18:36:19 -07:00
htab_reuse.c selftests/bpf: Add test case for element reuse in htab map 2023-02-15 15:40:06 -08:00
htab_update.c selftests/bpf: Add test cases for htab update 2022-08-31 14:10:01 -07:00
ima.c selftests/bpf: Check that bpf_kernel_read_file() denies reading IMA policy 2022-03-10 18:57:55 -08:00
inner_array_lookup.c selftests/bpf: Add access_inner_map selftest 2023-06-02 17:04:22 -07:00
ip_check_defrag.c bpf: treewide: Align kfunc signatures to prog point-of-view 2024-06-12 11:01:31 -07:00
iters.c selftests/bpf: Add a test to verify previous stacksafe() fix 2024-08-12 18:15:33 -07:00
iters_css.c selftests/bpf: Add tests for open-coded task and css iter 2023-10-19 17:02:47 -07:00
iters_css_task.c selftests/bpf: get trusted cgrp from bpf_iter__cgroup directly 2023-11-07 15:28:06 -08:00
iters_looping.c selftests/bpf: add iterators tests 2023-03-08 16:19:51 -08:00
iters_num.c selftests/bpf: add number iterator tests 2023-03-08 16:19:51 -08:00
iters_state_safety.c selftests/bpf: add iterators tests 2023-03-08 16:19:51 -08:00
iters_task.c selftests/bpf: Add negtive test cases for task iter 2024-02-19 12:28:15 +01:00
iters_task_failure.c bpf: Relax allowlist for css_task iter 2023-11-01 22:49:20 -07:00
iters_task_vma.c bpf: Introduce "volatile compare" macros 2024-01-03 10:58:42 -08:00
iters_testmod_seq.c selftests/bpf: implement and test custom testmod_seq iterator 2023-03-08 16:19:51 -08:00
jeq_infer_not_null_fail.c selftests/bpf: Fix a few tests for GCC related warnings. 2024-05-12 17:25:14 -07:00
jit_probe_mem.c selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h 2023-05-16 22:09:23 -07:00
kfree_skb.c selftests/bpf: Use BTF-defined key/value for map definitions 2021-10-01 15:31:51 -07:00
kfunc_call_destructive.c selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h 2023-05-16 22:09:23 -07:00
kfunc_call_fail.c selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h 2023-05-16 22:09:23 -07:00
kfunc_call_race.c selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h 2023-05-16 22:09:23 -07:00
kfunc_call_test.c selftests/bpf: Add kfunc_call test for simple dtor in bpf_testmod 2024-06-21 14:46:29 -07:00
kfunc_call_test_subprog.c selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h 2023-05-16 22:09:23 -07:00
kprobe_multi.c selftests/bpf: Add kprobe_multi kmod attach api tests 2022-10-25 10:14:51 -07:00
kprobe_multi_empty.c selftests/bpf: Add attach bench test 2022-05-10 14:42:06 -07:00
kprobe_multi_override.c selftests/bpf: Add kprobe_multi override test 2023-09-08 16:53:10 -07:00
kprobe_multi_session.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
kprobe_multi_session_cookie.c bpf: Change bpf_session_cookie return value to __u64 * 2024-06-21 19:32:36 +02:00
kptr_xchg_inline.c selftests/bpf: Test the inlining of bpf_kptr_xchg() 2024-01-23 14:40:21 -08:00
ksym_race.c selftests/bpf: Add test for race in btf_try_get_module 2022-01-18 14:27:39 -08:00
linked_funcs1.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
linked_funcs2.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
linked_list.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
linked_list.h selftests/bpf: Modify linked_list tests to work with macro-ified inserts 2023-04-15 17:36:50 -07:00
linked_list_fail.c selftests/bpf: Make linked_list failure test more robust 2023-10-20 09:29:39 -07:00
linked_maps1.c selftests/bpf: Validate skeleton gen handles skipped fields 2021-05-13 17:23:57 -07:00
linked_maps2.c selftests/bpf: Add map linking selftest 2021-04-23 14:05:27 -07:00
linked_vars1.c selftests/bpf: Add global variables linking selftest 2021-04-23 14:05:27 -07:00
linked_vars2.c selftests/bpf: Add global variables linking selftest 2021-04-23 14:05:27 -07:00
load_bytes_relative.c selftests/bpf: Add cgroup_skb/egress test for load_bytes_relative 2020-06-11 16:05:56 +02:00
local_kptr_stash.c selftests/bpf: Test bpf_kptr_xchg stashing of bpf_rb_root 2023-12-05 15:06:47 +01:00
local_kptr_stash_fail.c selftests/bpf: Add test for bpf_obj_drop with bad reg->off 2023-08-22 12:52:48 -07:00
local_storage.c bpf: Fix verifier assumptions about socket->sk 2024-04-29 14:16:41 -07:00
local_storage_bench.c selftests/bpf: Add benchmark for local_storage get 2022-06-22 19:14:33 -07:00
local_storage_rcu_tasks_trace_bench.c selftests/bpf: Add benchmark for local_storage RCU Tasks Trace usage 2022-07-07 16:35:21 +02:00
loop1.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
loop2.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
loop3.c selftests/bpf: Don't rely on preserving volatile in PT_REGS macros in loop3 2022-01-06 22:25:53 +01:00
loop4.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
loop5.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
loop6.c selftests/bpf: Fix trace_virtqueue_add_sgs test issue with LLVM 17. 2023-03-14 15:28:11 -07:00
lru_bug.c bpf: Rename __kptr_ref -> __kptr and __kptr -> __kptr_untrusted. 2023-03-03 17:42:20 +01:00
lsm.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
lsm_cgroup.c bpf: Fix verifier assumptions about socket->sk 2024-04-29 14:16:41 -07:00
lsm_cgroup_nonvoid.c bpf: Check attach_func_proto more carefully in check_return_code 2022-07-08 23:01:26 +02:00
map_in_map_btf.c selftests/bpf: Test the release of map btf 2023-12-18 18:15:49 +01:00
map_kptr.c selftests/bpf: add more variations of map-in-map situations 2024-05-15 09:34:54 -07:00
map_kptr_fail.c selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h 2023-05-16 22:09:23 -07:00
map_percpu_stats.c bpf: selftests: Fix bpf_map_sum_elem_count() kfunc prototype 2024-06-12 11:01:31 -07:00
map_ptr_kern.c bpf: Replace bpf_lpm_trie_key 0-length array with flexible array 2024-02-29 22:52:43 +01:00
metadata_unused.c selftests/bpf: Test load and dump metadata with btftool and skel 2020-09-15 18:28:27 -07:00
metadata_used.c selftests/bpf: Test load and dump metadata with btftool and skel 2020-09-15 18:28:27 -07:00
missed_kprobe.c selftests/bpf: Add test for missed counts of perf event link kprobe 2023-09-25 16:37:44 -07:00
missed_kprobe_recursion.c selftests/bpf: Add test for recursion counts of perf event link kprobe 2023-09-25 16:37:45 -07:00
missed_tp_recursion.c selftests/bpf: Add test for recursion counts of perf event link tracepoint 2023-09-25 16:37:45 -07:00
modify_return.c selftests/bpf: add testcase for TRACING with 6+ arguments 2023-07-13 16:04:56 -07:00
mptcp_sock.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
mptcpify.c selftests/bpf: Add pid limit for mptcpify prog 2024-04-02 10:05:49 -07:00
nested_trust_common.h bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype 2024-06-12 11:01:31 -07:00
nested_trust_failure.c bpf: relax zero fixed offset constraint on KF_TRUSTED_ARGS/KF_RCU 2024-07-09 19:11:47 -07:00
nested_trust_success.c bpf: relax zero fixed offset constraint on KF_TRUSTED_ARGS/KF_RCU 2024-07-09 19:11:47 -07:00
netcnt_prog.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
netif_receive_skb.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
netns_cookie_prog.c selftests/bpf: Test for get_netns_cookie 2021-08-24 14:17:53 -07:00
normal_map_btf.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
percpu_alloc_array.c selftests/bpf: Improve percpu_alloc test robustness 2023-10-16 13:49:18 +02:00
percpu_alloc_cgrp_local_storage.c selftests/bpf: Improve percpu_alloc test robustness 2023-10-16 13:49:18 +02:00
percpu_alloc_fail.c selftests/bpf: Add a selftest with > 512-byte percpu allocation size 2024-01-03 21:08:26 -08:00
perf_event_stackmap.c selftests/bpf: Fix return value checks in perf_event_stackmap test 2022-04-08 22:38:17 +02:00
perfbuf_bench.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
preempt_lock.c bpf: Add bpf_guard_preempt() convenience macro 2024-04-25 10:48:40 -07:00
preempted_bpf_ma_op.c selftests/bpf: Test preemption between bpf_obj_new() and bpf_obj_drop() 2023-09-08 08:42:19 -07:00
priv_map.c selftests/bpf: Add BPF object loading tests with explicit token passing 2024-01-24 16:21:03 -08:00
priv_prog.c selftests/bpf: Add BPF object loading tests with explicit token passing 2024-01-24 16:21:03 -08:00
profiler.h selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
profiler.inc.h selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
profiler1.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
profiler2.c selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
profiler3.c selftests/bpf: Add profiler test 2020-10-09 22:03:06 +02:00
pyperf.h bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
pyperf50.c selftests/bpf: add pyperf scale test 2019-05-23 16:20:57 +02:00
pyperf100.c selftests/bpf: add pyperf scale test 2019-05-23 16:20:57 +02:00
pyperf180.c selftests/bpf: Fix pyperf180 compilation failure with clang18 2023-11-11 12:18:10 -08:00
pyperf600.c selftests/bpf: Limit unroll_count for pyperf600 test 2022-04-19 10:18:56 -07:00
pyperf600_bpf_loop.c selftests/bpf: Measure bpf_loop verifier performance 2021-11-30 10:56:28 -08:00
pyperf600_iter.c selftests/bpf: add bpf_for_each(), bpf_for(), and bpf_repeat() macros 2023-03-08 16:19:51 -08:00
pyperf600_nounroll.c selftests/bpf: add bpf_for_each(), bpf_for(), and bpf_repeat() macros 2023-03-08 16:19:51 -08:00
pyperf_global.c selftests/bpf: Add a test for a large global function 2020-01-10 17:20:07 +01:00
pyperf_subprogs.c selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07:00
rbtree.c selftests/bpf: Test global bpf_rb_root arrays and fields in nested struct types. 2024-06-03 20:52:42 -07:00
rbtree_btf_fail__add_wrong_type.c selftests/bpf: Add rbtree selftests 2023-02-13 19:40:53 -08:00
rbtree_btf_fail__wrong_node_type.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
rbtree_fail.c selftests/bpf: Match tests against regular expression 2024-06-21 13:54:23 -07:00
rcu_read_lock.c selftests/bpf: Add tests for RCU lock transfer between subprogs 2024-02-05 20:00:14 -08:00
rcu_tasks_trace_gp.c selftests/bpf: Add more tests for kptrs in maps 2023-03-01 10:24:33 -08:00
read_bpf_task_storage_busy.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
read_vsyscall.c selftest/bpf: Test the read of vsyscall page under x86-64 2024-02-15 19:21:39 -08:00
recursion.c selftest/bpf: Switch recursion test to use htab_map_delete_elem 2021-10-06 12:34:02 -07:00
recvmsg4_prog.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
recvmsg6_prog.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
recvmsg_unix_prog.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
refcounted_kptr.c selftests/bpf: Add tests for rbtree API interaction in sleepable progs 2023-08-25 09:23:17 -07:00
refcounted_kptr_fail.c selftests/bpf: Match tests against regular expression 2024-06-21 13:54:23 -07:00
ringbuf_bench.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
sendmsg4_prog.c selftests/bpf: Migrate sendmsg deny test cases 2024-05-12 17:10:41 -07:00
sendmsg6_prog.c selftests/bpf: Migrate wildcard destination rewrite test 2024-05-12 17:10:41 -07:00
sendmsg_unix_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
setget_sockopt.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
sk_storage_omem_uncharge.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
skb_load_bytes.c selftests/bpf: Add test for skb_load_bytes 2022-04-20 23:48:34 +02:00
skb_pkt_end.c selftests/bpf: Validate CHECKSUM_COMPLETE option 2024-06-13 14:29:53 +02:00
sock_addr_kern.c selftests/bpf: Implement BPF programs for kernel socket operations 2024-05-02 12:09:22 -07:00
sock_destroy_prog.c selftests/bpf: Test bpf_sock_destroy 2023-05-19 22:44:28 -07:00
sock_destroy_prog_fail.c selftests/bpf: Test bpf_sock_destroy 2023-05-19 22:44:28 -07:00
sock_iter_batch.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
socket_cookie_prog.c selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie 2021-02-11 17:44:41 -08:00
sockmap_parse_prog.c test: selftests: Remove unused various in sockmap_verdict_prog.c 2022-01-14 17:26:14 -08:00
sockmap_tcp_msg_prog.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
sockmap_verdict_prog.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
sockopt_inherit.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
sockopt_multi.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
sockopt_qos_to_cc.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
sockopt_sk.c selftests/bpf: Correctly handle optlen > 4096 2023-05-13 16:55:46 -07:00
stacktrace_map_skip.c selftests/bpf: Test skipping stacktrace 2022-03-20 19:16:50 -07:00
strncmp_bench.c selftests/bpf: Add benchmark for bpf_strncmp() helper 2021-12-11 17:40:23 -08:00
strncmp_test.c selftests/bpf: Use non-autoloaded programs in few tests 2022-04-19 13:48:20 -07:00
strobemeta.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta.h bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
strobemeta_bpf_loop.c selftests/bpf: Measure bpf_loop verifier performance 2021-11-30 10:56:28 -08:00
strobemeta_nounroll1.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta_nounroll2.c selftests/bpf: add realistic loop tests 2019-06-19 02:22:52 +02:00
strobemeta_subprogs.c selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests 2020-09-03 17:14:40 -07:00
struct_ops_autocreate.c selftests/bpf: Test case for SEC("?.struct_ops") 2024-03-06 15:18:16 -08:00
struct_ops_autocreate2.c selftests/bpf: Verify struct_ops autoload/autocreate sync 2024-03-06 15:18:15 -08:00
struct_ops_detach.c selftests/bpf: test struct_ops with epoll 2024-05-30 15:34:14 -07:00
struct_ops_forgotten_cb.c selftests/bpf: validate struct_ops early failure detection logic 2024-05-07 16:21:59 -07:00
struct_ops_maybe_null.c selftests/bpf: Test PTR_MAYBE_NULL arguments of struct_ops operators. 2024-02-13 15:16:44 -08:00
struct_ops_maybe_null_fail.c selftests/bpf: Test PTR_MAYBE_NULL arguments of struct_ops operators. 2024-02-13 15:16:44 -08:00
struct_ops_module.c libbpf: better fix for handling nulled-out struct_ops program 2024-05-01 10:17:24 -07:00
struct_ops_multi_pages.c selftests/bpf: Test struct_ops maps with a large number of struct_ops program. 2024-03-04 14:09:24 -08:00
struct_ops_nulled_out_cb.c selftests/bpf: add another struct_ops callback use case test 2024-05-07 16:21:59 -07:00
syscall.c selftests/bpf: Test outer map update operations in syscall program 2023-12-04 17:50:27 -08:00
tailcall1.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall2.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall3.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall4.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall5.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall6.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall_bpf2bpf1.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall_bpf2bpf2.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
tailcall_bpf2bpf3.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
tailcall_bpf2bpf4.c selftests/bpf: Declare subprog_noise as static in tailcall_bpf2bpf4 2022-08-26 22:07:01 -07:00
tailcall_bpf2bpf6.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
tailcall_bpf2bpf_fentry.c selftests/bpf: Add testcases for tailcall infinite loop fixing 2023-09-12 13:06:12 -07:00
tailcall_bpf2bpf_fexit.c selftests/bpf: Add testcases for tailcall infinite loop fixing 2023-09-12 13:06:12 -07:00
tailcall_poke.c selftests/bpf: Add test for early update in prog_array_map_poke_run 2023-12-06 22:40:43 +01:00
task_kfunc_common.h selftests/bpf: Verify calling core kfuncs from BPF_PROG_TYPE_SYCALL 2024-04-05 10:58:10 -07:00
task_kfunc_failure.c bpf: reuse btf_prepare_func_args() check for main program BTF validation 2023-12-19 18:06:46 -08:00
task_kfunc_success.c selftests/bpf: Add CO-RE relocs kfunc flavors tests 2023-08-18 18:12:59 +02:00
task_local_storage.c selftests/bpf: Add non-BPF_LSM test for task local storage 2021-02-26 11:51:48 -08:00
task_local_storage_exit_creds.c selftests/bpf: fix task_local_storage/exit_creds rcu usage 2022-10-21 13:58:09 -07:00
task_ls_recursion.c bpf: Allow compiler to inline most of bpf_local_storage_lookup() 2024-02-11 14:06:24 -08:00
task_storage_nodeadlock.c selftests/bpf: Ensure no task storage failure for bpf_lsm.s prog due to deadlock detection 2022-10-25 23:11:46 -07:00
tcp_ca_incompl_cong_ops.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_kfunc.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_unsupp_cong_op.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_update.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_write_sk_pacing.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_rtt.c selftests/bpf: extend BPF_SOCK_OPS_RTT_CB test for srtt and mrtt_us 2024-04-25 14:09:05 -07:00
test_access_variable_array.c selftests/bpf: Adjust test_access_variable_array after a kernel function name change 2024-05-17 01:48:16 +02:00
test_assign_reuse.c selftests/bpf: Test that SO_REUSEPORT can be used with sk_assign helper 2023-07-25 14:02:47 -07:00
test_attach_kprobe_sleepable.c selftests/bpf: Split test_attach_probe into multi subtests 2023-03-06 09:38:08 -08:00
test_attach_probe.c selftests/bpf: Add test for legacy/perf kprobe/uprobe attach mode 2023-03-06 09:38:08 -08:00
test_attach_probe_manual.c selftests/bpf: Add test for legacy/perf kprobe/uprobe attach mode 2023-03-06 09:38:08 -08:00
test_autoattach.c selftests/bpf: Tests libbpf autoattach APIs 2022-08-17 09:42:07 -07:00
test_autoload.c selftests/bpf: Test auto-load disabling logic for BPF programs 2020-06-28 10:06:53 -07:00
test_bpf_cookie.c selftests/bpf: add raw_tp/tp_btf BPF cookie subtests 2024-03-19 23:05:34 -07:00
test_bpf_ma.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_bpf_nf.c bpf: selftests: nf: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
test_bpf_nf_fail.c bpf: selftests: nf: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
test_btf_decl_tag.c selftests/bpf: rename btf_decl_tag.c to test_btf_decl_tag.c 2022-01-27 12:03:46 -08:00
test_btf_map_in_map.c selftests/bpf: Use BTF-defined key/value for map definitions 2021-10-01 15:31:51 -07:00
test_btf_newkv.c selftests/bpf: remove last tests with legacy BPF map definitions 2022-06-28 13:13:33 -07:00
test_btf_nokv.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
test_btf_skc_cls_ingress.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
test_cgroup1_hierarchy.c selftests/bpf: Add selftests for cgroup1 hierarchy 2023-11-14 08:59:23 -08:00
test_cgroup_link.c selftests/bpf: Normalize all the rest SEC() uses 2021-09-28 13:51:19 -07:00
test_check_mtu.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_cls_redirect.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_cls_redirect.h selftests/bpf: fix static assert compilation issue for test_cls_*.c 2023-08-02 14:18:30 -07:00
test_cls_redirect_dynptr.c bpf: Use -Wno-address-of-packed-member in some selftests 2024-02-06 09:40:25 -08:00
test_cls_redirect_subprogs.c selftests/bpf: Add __noinline variant of cls_redirect selftest 2020-09-03 17:14:40 -07:00
test_core_autosize.c selftests/bpf: Fix test_core_autosize on big-endian machines 2021-08-13 16:40:40 -07:00
test_core_extern.c selftests/bpf: add test of __weak unknown virtual __kconfig extern 2022-07-19 09:33:18 -07:00
test_core_read_macros.c selftests/bpf: Add tests for user- and non-CO-RE BPF_CORE_READ() variants 2021-01-08 13:39:24 -08:00
test_core_reloc_arrays.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_bitfields_direct.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_bitfields_probed.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_core_reloc_enum64val.c selftests/bpf: Add a test for enum64 value relocations 2022-06-07 10:20:44 -07:00
test_core_reloc_enumval.c selftests/bpf: Add tests for ENUMVAL_EXISTS/ENUMVAL_VALUE relocations 2020-08-19 14:19:39 -07:00
test_core_reloc_existence.c selftests/bpf: Use both syntaxes for field-based CO-RE helpers 2022-05-09 17:15:32 +02:00
test_core_reloc_flavors.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_ints.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_kernel.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_core_reloc_misc.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_mods.c selftests/bpf: Fix test_core_reloc_mods on big-endian machines 2021-10-25 20:39:42 -07:00
test_core_reloc_module.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_core_reloc_nesting.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_primitives.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_ptr_as_arr.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_core_reloc_size.c selftests/bpf: Add bpf_core_field_offset() tests 2022-05-09 17:15:32 +02:00
test_core_reloc_type_based.c selftests/bpf: Add test involving restrict type qualifier 2022-07-08 14:27:03 +02:00
test_core_reloc_type_id.c selftests/bpf: Update LLVM Phabricator links 2024-01-23 14:40:22 -08:00
test_core_retro.c selftests/bpf: Fix spurious test failures in core_retro selftest 2020-08-01 23:10:42 -07:00
test_custom_sec_handlers.c selftests/bpf: Add custom SEC() handling selftest 2022-03-05 09:38:15 -08:00
test_d_path.c selftests/bpf: Fix stat probe in d_path test 2020-09-21 16:18:00 -07:00
test_d_path_check_rdonly_mem.c bpf/selftests: Test bpf_d_path on rdonly_mem. 2022-01-06 15:20:49 -08:00
test_d_path_check_types.c bpf, selftests: Add ringbuf memory type confusion test 2022-01-19 01:27:03 +01:00
test_deny_namespace.c selftests/bpf: Fix progs/test_deny_namespace.c issues. 2023-03-10 12:54:12 -08:00
test_enable_stats.c selftests/bpf: Fix race condition in enable_stats 2021-10-08 15:10:43 -07:00
test_endian.c selftests/bpf: Add byte swapping selftest 2020-07-01 09:06:12 +02:00
test_fill_link_info.c selftests/bpf: Add fill_link_info test for perf event 2024-01-23 16:05:28 -08:00
test_fsverity.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_get_stack_rawtp.c selftests/bpf: Workaround for get_stack_rawtp test. 2020-06-24 11:10:59 -07:00
test_get_stack_rawtp_err.c bpf: Test_progs, add test to catch retval refine error handling 2020-03-30 15:00:30 -07:00
test_get_xattr.c selftests/bpf: Add tests for filesystem kfuncs 2023-12-01 16:21:03 -08:00
test_global_data.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_global_func1.c bpf: Fix test verif_scale_strobemeta_subprogs failure due to llvm19 2024-02-15 13:45:27 -08:00
test_global_func2.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_global_func3.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func4.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func5.c bpf: reuse subprog argument parsing logic for subprog call checks 2023-12-19 18:06:46 -08:00
test_global_func6.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func7.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func8.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func9.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func10.c bpf: ignore expected GCC warning in test_global_func10.c 2024-05-12 17:31:24 -07:00
test_global_func11.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func12.c bpf: Validate global subprogs lazily 2023-11-24 10:40:06 +01:00
test_global_func13.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func14.c selftests/bpf: Convert test_global_funcs test to test_loader framework 2023-02-17 21:20:44 +01:00
test_global_func15.c selftests/bpf: adjust global_func15 test to validate prog exit precision 2023-12-02 11:36:51 -08:00
test_global_func16.c bpf: Fix accesses to uninit stack slots 2023-12-08 14:19:00 -08:00
test_global_func17.c bpf: Fix a few selftest failures due to llvm18 change 2023-11-27 14:53:39 +01:00
test_global_func_args.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_global_func_ctx_args.c bpf: don't infer PTR_TO_CTX for programs with unnamed context type 2024-02-13 18:46:47 -08:00
test_global_map_resize.c selftests/bpf: extend existing map resize tests for per-cpu use case 2023-07-12 07:57:18 -07:00
test_hash_large_key.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_helper_restricted.c selftests/bpf: Clean up sys_nanosleep uses 2022-08-08 15:42:00 +02:00
test_jhash.h selftests/bpf: Test udp and tcp iter batching 2024-01-13 11:01:44 -08:00
test_kfunc_dynptr_param.c bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type check 2024-06-26 13:17:32 -07:00
test_kfunc_param_nullable.c bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type check 2024-06-26 13:17:32 -07:00
test_ksyms.c selftests/bpf: Add __ksym extern selftest 2020-06-22 17:01:48 -07:00
test_ksyms_btf.c bpf/selftests: Test for bpf_per_cpu_ptr() and bpf_this_cpu_ptr() 2020-10-02 15:00:49 -07:00
test_ksyms_btf_null_check.c bpf: selftest: Ensure the return value of the bpf_per_cpu_ptr() must be checked 2020-10-19 15:57:42 -07:00
test_ksyms_btf_write_check.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_ksyms_module.c bpf: selftests: Add selftests for module kfunc support 2021-10-05 17:07:42 -07:00
test_ksyms_weak.c selftests/bpf: Add light skeleton test for kfunc detection. 2023-03-22 09:31:05 -07:00
test_l4lb.c selftests/bpf: Fix non-strict SEC() program sections 2021-11-07 08:34:23 -08:00
test_l4lb_noinline.c selftests/bpf: Return true/false (not 1/0) from bool functions 2022-04-03 16:42:43 -07:00
test_l4lb_noinline_dynptr.c selftests/bpf: tests for using dynptrs to parse skb and xdp buffers 2023-03-01 10:05:19 -08:00
test_ldsx_insn.c selftests/bpf: Enable cpu v4 tests for LoongArch 2023-11-08 14:12:21 +08:00
test_legacy_printk.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_libbpf_get_fd_by_id_opts.c selftests/bpf: Add tests for _opts variants of bpf_*_get_fd_by_id() 2022-10-10 16:49:43 -07:00
test_link_pinning.c selftests/bpf: Add link pinning selftests 2020-03-02 22:06:27 -08:00
test_lirc_mode2_kern.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_log_buf.c selftests/bpf: Add test for libbpf's custom log_buf behavior 2021-12-10 15:29:18 -08:00
test_log_fixup.c selftests/bpf: add missing __weak kfunc log fixup test 2023-04-18 12:45:10 -07:00
test_lookup_and_delete.c selftests/bpf: Add bpf_lookup_and_delete_elem tests 2021-05-24 13:30:52 -07:00
test_lookup_key.c selftests/bpf: Add additional tests for bpf_lookup_*_key() 2022-09-21 17:33:42 -07:00
test_lwt_ip_encap.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_lwt_redirect.c selftests/bpf: Remove bpf_tracing_net.h usages from two networking tests 2024-05-09 11:13:11 -07:00
test_lwt_reroute.c selftests/bpf: Add lwt_xmit tests for BPF_REROUTE 2023-08-18 16:05:27 +02:00
test_lwt_seg6local.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_map_in_map.c selftest/bpf: Add map_in_maps with BPF_MAP_TYPE_PERF_EVENT_ARRAY values 2024-01-23 14:43:12 -08:00
test_map_in_map_invalid.c selftests/bpf: Use BTF-defined key/value for map definitions 2021-10-01 15:31:51 -07:00
test_map_init.c bpf: Zero-fill re-used per-cpu map element 2020-11-05 19:55:57 -08:00
test_map_lock.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_map_lookup_percpu_elem.c selftests/bpf: Fix some bugs in map_lookup_percpu_elem testcase 2022-05-20 15:07:41 -07:00
test_map_ops.c bpf/selftests: coverage for bpf_map_ops errors 2023-03-22 15:11:06 -07:00
test_migrate_reuseport.c bpf: Test BPF_SK_REUSEPORT_SELECT_OR_MIGRATE. 2021-06-15 18:01:06 +02:00
test_misc_tcp_hdr_options.c selftests/bpf: Test skops->skb_hwtstamp 2022-11-11 13:18:36 -08:00
test_mmap.c selftests/bpf: mmap: Use runtime page size 2021-04-08 23:54:48 -07:00
test_module_attach.c selftests/bpf: add tests for the "module: Function" syntax 2024-05-01 09:53:48 -07:00
test_netfilter_link_attach.c selftests/bpf: Add bpf_program__attach_netfilter helper test 2023-06-30 12:34:38 -07:00
test_ns_current_pid_tgid.c selftests/bpf: Add a sk_msg prog bpf_get_ns_current_pid_tgid() test 2024-03-19 14:27:00 -07:00
test_obj_id.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_overhead.c selftests: Remove fmod_ret from test_overhead 2020-09-28 17:20:28 -07:00
test_parse_tcp_hdr_opt.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_parse_tcp_hdr_opt_dynptr.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_pe_preserve_elems.c selftests/bpf: Use BTF-defined key/value for map definitions 2021-10-01 15:31:51 -07:00
test_perf_branches.c libbpf: Merge selftests' bpf_trace_helpers.h into libbpf's bpf_tracing.h 2020-03-02 16:25:14 -08:00
test_perf_buffer.c selftests/bpf: Make perf_buffer selftests work on 4.9 kernel again 2021-10-22 14:26:33 -07:00
test_perf_link.c selftests/bpf: Test low-level perf BPF link API 2021-08-17 00:45:08 +02:00
test_perf_skip.c selftest/bpf: Test a perf BPF program that suppresses side effects 2024-04-12 11:49:51 +02:00
test_pinning.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
test_pinning_invalid.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
test_pkt_access.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_pkt_md_access.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_probe_read_user_str.c selftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NUL 2020-11-19 11:58:15 -08:00
test_probe_user.c selftests/bpf: Attach to socketcall() in test_probe_user 2022-07-26 16:29:23 +02:00
test_prog_array_init.c selftests/bpf: Test BPF_MAP_TYPE_PROG_ARRAY static initialization 2021-11-28 22:24:57 -08:00
test_ptr_untrusted.c selftests/bpf: Fix flaky test ptr_untrusted 2024-02-05 10:48:41 -08:00
test_queue_map.c selftests: bpf: centre kernel bpf objects under new subdir "progs" 2019-02-11 20:31:38 -08:00
test_queue_stack_map.h selftests/bpf: Fix non-strict SEC() program sections 2021-11-07 08:34:23 -08:00
test_raw_tp_test_run.c bpf, selftests: Fix cast to smaller integer type 'int' warning in raw_tp 2020-09-28 21:33:38 -07:00
test_rdonly_maps.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_ringbuf.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_ringbuf_map_key.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_ringbuf_multi.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_ringbuf_n.c selftests/bpf: Add ring_buffer__consume_n test. 2024-04-25 11:46:04 -07:00
test_ringbuf_write.c selftests/bpf: Add more ring buffer test coverage 2024-06-24 13:43:55 +02:00
test_seg6_loop.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_select_reuseport_kern.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_send_signal_kern.c Improve send_signal BPF test stability 2022-03-08 17:39:29 -08:00
test_sig_in_xattr.c selftests/bpf: Add test that uses fsverity and xattr to sign a file 2023-12-01 16:21:03 -08:00
test_siphash.h selftest: bpf: Test bpf_sk_assign_tcp_reqsk(). 2024-01-23 14:40:24 -08:00
test_sk_assign.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_sk_assign_libbpf.c selftests/bpf: Fix sk_assign on s390x 2023-01-29 19:16:28 -08:00
test_sk_lookup.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_sk_lookup_kern.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_sk_storage_trace_itself.c bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TP 2020-11-12 18:39:28 -08:00
test_sk_storage_tracing.c selftests/bpf: fix inet_csk_accept prototype in test_sk_storage_tracing.c 2024-05-31 14:54:25 -07:00
test_skb_cgroup_id_kern.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
test_skb_ctx.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_skb_helpers.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_skc_to_unix_sock.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_skeleton.c libbpf: add non-mmapable data section selftest 2022-10-19 16:40:45 -07:00
test_skmsg_load_helpers.c selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs 2024-04-10 19:52:25 -07:00
test_snprintf.c selftest/bpf: Extend the bpf_snprintf() test for "%c". 2021-08-15 00:19:10 -07:00
test_snprintf_single.c selftests/bpf: Stop using static variables for passing data to/from user-space 2021-05-11 15:07:17 -07:00
test_sock_fields.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
test_sockhash_kern.c selftests: bpf: centre kernel bpf objects under new subdir "progs" 2019-02-11 20:31:38 -08:00
test_sockmap_drop_prog.c bpf, sockmap: Test FIONREAD returns correct bytes in rx buffer with drops 2023-05-23 16:11:20 +02:00
test_sockmap_invalid_update.c selftests: bpf: Test sockmap update from BPF 2020-08-21 15:16:12 -07:00
test_sockmap_kern.c selftests: bpf: centre kernel bpf objects under new subdir "progs" 2019-02-11 20:31:38 -08:00
test_sockmap_kern.h selftests/bpf: Drop duplicate bpf_map_lookup_elem in test_sockmap 2024-06-03 19:32:55 +02:00
test_sockmap_listen.c bpf, sockmap: Add af_unix test with both sockets in map 2023-11-30 00:25:25 +01:00
test_sockmap_pass_prog.c selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs 2024-04-10 19:52:25 -07:00
test_sockmap_progs_query.c selftests: bpf: test BPF_PROG_QUERY for progs attached to sockmap 2022-01-20 21:33:32 -08:00
test_sockmap_skb_verdict_attach.c selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs 2024-04-10 19:52:25 -07:00
test_sockmap_update.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_spin_lock.c selftests/bpf: Add test for static subprog call in lock cs 2024-02-05 19:58:47 -08:00
test_spin_lock_fail.c selftests/bpf: Add test for static subprog call in lock cs 2024-02-05 19:58:47 -08:00
test_stack_map.c selftests: bpf: centre kernel bpf objects under new subdir "progs" 2019-02-11 20:31:38 -08:00
test_stack_var_off.c selftest/bpf: Add test for var-offset stack access 2021-02-10 11:05:34 -08:00
test_stacktrace_build_id.c selftests/bpf: fix stacktrace_build_id with missing kprobe/urandom_read 2022-05-27 07:57:25 -07:00
test_stacktrace_map.c selftests/bpf: use canonical ftrace path 2023-03-13 21:51:30 -07:00
test_static_linked1.c selftests/bpf: Validate skeleton gen handles skipped fields 2021-05-13 17:23:57 -07:00
test_static_linked2.c selftests/bpf: Validate skeleton gen handles skipped fields 2021-05-13 17:23:57 -07:00
test_subprogs.c Fix typos in selftest/bpf files 2023-02-16 16:56:17 -08:00
test_subprogs_extable.c selftests/bpf: add a test for subprogram extables 2023-06-13 15:13:52 -07:00
test_subprogs_unused.c selftests/bpf: Fix unused attribute usage in subprogs_unused test 2020-11-12 09:13:49 -08:00
test_subskeleton.c selftests/bpf: Test subskeleton functionality 2022-03-17 23:12:48 -07:00
test_subskeleton_lib.c selftests/bpf: Test subskeleton functionality 2022-03-17 23:12:48 -07:00
test_subskeleton_lib2.c selftests/bpf: Test subskeleton functionality 2022-03-17 23:12:48 -07:00
test_sysctl_loop1.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_sysctl_loop2.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_sysctl_prog.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_task_pt_regs.c libbpf: Add auto-attach for uprobes based on section name 2022-04-03 19:55:57 -07:00
test_task_under_cgroup.c selftests/bpf: Add selftest for bpf_task_under_cgroup() in sleepable prog 2023-10-17 18:31:27 +02:00
test_tc_bpf.c selftests/bpf: Add selftest for allow_ptr_leaks 2023-08-23 09:37:29 -07:00
test_tc_dtime.c selftests/bpf: Handle forwarding of UDP CLOCK_TAI packets 2024-05-23 14:14:43 -07:00
test_tc_edt.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
test_tc_link.c selftests/bpf: Add netkit test for pkt_type 2024-05-25 10:53:11 -07:00
test_tc_neigh.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_tc_neigh_fib.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_tc_peer.c selftests/bpf: Switch SEC("classifier*") usage to a strict SEC("tc") 2021-09-28 13:51:19 -07:00
test_tc_tunnel.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_tcp_check_syncookie_kern.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
test_tcp_custom_syncookie.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_tcp_custom_syncookie.h selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_tcp_estats.c selftests/bpf: Fix non-strict SEC() program sections 2021-11-07 08:34:23 -08:00
test_tcp_hdr_options.c selftests/bpf: Normalize all the rest SEC() uses 2021-09-28 13:51:19 -07:00
test_tcpbpf_kern.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
test_tcpnotify_kern.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
test_time_tai.c selftests/bpf: Add BPF-helper test for CLOCK_TAI access 2022-08-09 09:47:13 -07:00
test_trace_ext.c selftests/bpf: Adding test for arg dereference in extension trace 2020-09-29 13:09:24 -07:00
test_trace_ext_tracing.c selftests/bpf: Adding test for arg dereference in extension trace 2020-09-29 13:09:24 -07:00
test_tracepoint.c selftests/bpf: use canonical ftrace path 2023-03-13 21:51:30 -07:00
test_trampoline_count.c selftests/bpf: Add missing trampoline program type to trampoline_count test 2022-05-20 16:12:14 -07:00
test_tunnel_kern.c selftests/bpf: Fix a few tests for GCC related warnings. 2024-05-12 17:25:14 -07:00
test_unpriv_bpf_disabled.c selftests/bpf: add tests verifying unprivileged bpf behaviour 2022-05-20 19:54:34 -07:00
test_uprobe.c selftests/bpf: Add tests for symbol versioning for uprobe 2023-09-22 14:27:41 -07:00
test_uprobe_autoattach.c selftests/bpf: Attach to fopen()/fclose() in uprobe_autoattach 2023-02-10 15:21:27 -08:00
test_urandom_usdt.c selftests/bpf: Add urandom_read shared lib and USDTs 2022-04-05 13:16:08 -07:00
test_usdt.c selftests/bpf: Add basic USDT selftests 2022-04-05 13:16:08 -07:00
test_usdt_multispec.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_user_ringbuf.h selftests/bpf: Add selftests validating the user ringbuf 2022-09-21 16:25:03 -07:00
test_varlen.c selftests: bpf: Add a test when bpf_probe_read_kernel_str() returns EFAULT 2022-11-11 11:44:46 -08:00
test_verif_scale1.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_verif_scale2.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_verif_scale3.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_verify_pkcs7_sig.c selftests/bpf: Add test that uses fsverity and xattr to sign a file 2023-12-01 16:21:03 -08:00
test_vmlinux.c bpf: Change syscall_nr type to int in struct syscall_tp_t 2023-10-13 12:39:36 -07:00
test_xdp.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_xdp_adjust_tail_grow.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_xdp_adjust_tail_shrink.c bpf: selftests: update xdp_adjust_tail selftest to include xdp frags 2022-01-21 14:14:02 -08:00
test_xdp_attach_fail.c selftests/bpf: Add testcase for xdp attaching failure tracepoint 2023-08-02 14:21:12 -07:00
test_xdp_bpf2bpf.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
test_xdp_context_test_run.c selftests/bpf: Add test for xdp_md context in BPF_PROG_TEST_RUN 2021-07-07 19:51:13 -07:00
test_xdp_devmap_helpers.c selftests/bpf: Normalize XDP section names in selftests 2021-09-28 13:51:19 -07:00
test_xdp_do_redirect.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_xdp_dynptr.c bpf: avoid VLAs in progs/test_xdp_dynptr.c 2024-01-23 15:50:47 -08:00
test_xdp_link.c bpf/selftests: Add check for updating XDP bpf_link with wrong program type 2022-01-11 09:44:06 -08:00
test_xdp_loop.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_xdp_meta.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
test_xdp_noinline.c selftests/bpf: Change functions definitions to support GCC 2024-05-07 14:41:00 -07:00
test_xdp_redirect.c selftests/bpf: Remove SEC("version") from test progs 2021-10-07 22:01:56 -07:00
test_xdp_update_frags.c bpf: selftests: introduce bpf_xdp_{load,store}_bytes selftest 2022-01-21 14:14:03 -08:00
test_xdp_vlan.c bpf: avoid gcc overflow warning in test_xdp_vlan.c 2024-05-12 17:19:32 -07:00
test_xdp_with_cpumap_frags_helpers.c selftests/bpf: Update cpumap/devmap sec_name 2022-02-01 09:51:31 -08:00
test_xdp_with_cpumap_helpers.c selftests/bpf: Update cpumap/devmap sec_name 2022-02-01 09:51:31 -08:00
test_xdp_with_devmap_frags_helpers.c selftests/bpf: Update cpumap/devmap sec_name 2022-02-01 09:51:31 -08:00
test_xdp_with_devmap_helpers.c selftests/bpf: Update cpumap/devmap sec_name 2022-02-01 09:51:31 -08:00
timer.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
timer_crash.c selftests/bpf: Add test for bpf_timer overwriting crash 2022-02-11 13:13:04 -08:00
timer_failure.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
timer_lockup.c selftests/bpf: Add timer lockup selftest 2024-07-11 10:18:31 +02:00
timer_mim.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
timer_mim_reject.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
token_lsm.c selftests/bpf: Incorporate LSM policy to token-based tests 2024-01-24 16:21:03 -08:00
trace_dummy_st_ops.c bpf: selftests: Test fentry tracing a struct_ops program 2022-03-30 19:31:30 -07:00
trace_printk.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
trace_vprintk.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
tracing_failure.c selftests/bpf: Ensure fentry prog cannot attach to bpf_spin_{lock,unlcok}() 2024-02-13 11:11:25 -08:00
tracing_struct.c selftests/bpf: Factor out many args tests from tracing_struct 2024-07-02 16:01:53 +02:00
tracing_struct_many_args.c selftests/bpf: Add testcase where 7th argment is struct 2024-07-02 16:02:02 +02:00
trigger_bench.c selftests/bpf: add batched tp/raw_tp/fmodret tests 2024-03-28 18:31:40 -07:00
twfw.c selftests/bpf: Add a testcase for 64-bit bounds propagation issue. 2021-11-01 18:05:12 -07:00
type_cast.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
udp_limit.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
uninit_stack.c selftests/bpf: Tests for uninitialized stack reads 2023-02-22 12:34:50 -08:00
uprobe_multi.c selftests/bpf: extend multi-uprobe tests with USDTs 2024-05-25 10:46:02 -07:00
uprobe_multi_bench.c selftests/bpf: Add uprobe_multi bench test 2023-08-21 15:51:27 -07:00
uprobe_multi_usdt.c selftests/bpf: Add uprobe_multi usdt bench test 2023-08-21 15:51:27 -07:00
uprobe_syscall.c selftests/bpf: Add uretprobe syscall test for regs integrity 2024-06-12 08:44:28 +09:00
uprobe_syscall_executed.c selftests/bpf: Add uretprobe syscall call from user space test 2024-06-12 08:44:28 +09:00
uretprobe_stack.c selftests/bpf: add test validating uprobe/uretprobe stack traces 2024-06-25 10:15:38 +09:00
user_ringbuf_fail.c bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type check 2024-06-26 13:17:32 -07:00
user_ringbuf_success.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
verifier_and.c selftests/bpf: verifier/and.c converted to inline assembly 2023-03-25 17:02:02 -07:00
verifier_arena.c bpf: selftests: Do not use generated kfunc prototypes for arena progs 2024-06-13 11:18:43 -07:00
verifier_arena_large.c bpf: selftests: Do not use generated kfunc prototypes for arena progs 2024-06-13 11:18:43 -07:00
verifier_array_access.c selftests/bpf: populate map_array_ro map for verifier_array_access test 2023-04-20 16:49:16 -07:00
verifier_basic_stack.c bpf: Fix accesses to uninit stack slots 2023-12-08 14:19:00 -08:00
verifier_bitfield_write.c bpf: selftests: Add verifier tests for CO-RE bitfield writes 2023-12-13 15:42:19 -08:00
verifier_bits_iter.c selftests/bpf: Add selftest for bits iter 2024-05-29 16:01:48 -07:00
verifier_bounds.c selftests/bpf: MUL range computation tests. 2024-05-06 17:09:12 -07:00
verifier_bounds_deduction.c selftests/bpf: verifier/bounds_deduction.c converted to inline assembly 2023-03-25 17:02:03 -07:00
verifier_bounds_deduction_non_const.c selftests/bpf: Add verifier tests for code pattern '<const> <cond_op> <non_const>' 2023-04-06 15:26:08 -07:00
verifier_bounds_mix_sign_unsign.c bpf: Improve handling of pattern '<const> <cond_op> <non_const>' in verifier 2023-04-06 15:26:08 -07:00
verifier_bpf_get_stack.c selftests/bpf: verifier/bpf_get_stack converted to inline assembly 2023-04-21 12:17:39 -07:00
verifier_bswap.c selftests/bpf: Enable cpu v4 tests for LoongArch 2023-11-08 14:12:21 +08:00
verifier_btf_ctx_access.c selftests/bpf: verifier/btf_ctx_access converted to inline assembly 2023-04-21 12:17:51 -07:00
verifier_btf_unreliable_prog.c selftests/bpf: add freplace of BTF-unreliable main prog test 2023-12-19 18:06:47 -08:00
verifier_cfg.c selftests/bpf: add more test cases for check_cfg() 2023-11-09 22:57:25 -08:00
verifier_cgroup_inv_retcode.c bpf: enforce precise retval range on program exit 2023-12-02 11:36:50 -08:00
verifier_cgroup_skb.c selftests/bpf: verifier/cgroup_skb.c converted to inline assembly 2023-03-25 17:02:03 -07:00
verifier_cgroup_storage.c selftests/bpf: verifier/cgroup_storage.c converted to inline assembly 2023-03-25 17:02:03 -07:00
verifier_const_or.c selftests/bpf: verifier/const_or.c converted to inline assembly 2023-03-25 17:02:03 -07:00
verifier_ctx.c selftests/bpf: verifier/ctx converted to inline assembly 2023-04-21 12:18:03 -07:00
verifier_ctx_sk_msg.c selftests/bpf: verifier/ctx_sk_msg.c converted to inline assembly 2023-03-25 17:02:03 -07:00
verifier_d_path.c selftests/bpf: verifier/d_path converted to inline assembly 2023-04-21 12:18:16 -07:00
verifier_direct_packet_access.c bpf: Assign ID to scalars on spill 2024-01-23 14:40:23 -08:00
verifier_direct_stack_access_wraparound.c selftests/bpf: verifier/direct_stack_access_wraparound.c converted to inline assembly 2023-03-25 17:02:03 -07:00
verifier_div0.c selftests/bpf: verifier/div0.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_div_overflow.c selftests/bpf: verifier/div_overflow.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_global_ptr_args.c selftests/bpf: add more cases for __arg_trusted __arg_nullable args 2024-02-02 18:08:58 -08:00
verifier_global_subprogs.c bpf: avoid uninitialized warnings in verifier_global_subprogs.c 2024-05-08 09:55:27 -07:00
verifier_gotol.c selftests/bpf: Test gotol with large offsets 2024-01-04 14:37:25 -08:00
verifier_helper_access_var_len.c selftests/bpf: verifier/helper_access_var_len.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_helper_packet_access.c selftests/bpf: verifier/helper_packet_access.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_helper_restricted.c bpf: improve error message for unsupported helper 2024-03-28 18:30:53 -07:00
verifier_helper_value_access.c bpf: Add a possibly-zero-sized read test 2024-01-03 10:37:56 -08:00
verifier_int_ptr.c bpf: Fix accesses to uninit stack slots 2023-12-08 14:19:00 -08:00
verifier_iterating_callbacks.c bpf-next-for-netdev 2024-07-09 17:01:46 +02:00
verifier_jeq_infer_not_null.c selftests/bpf: verifier/jeq_infer_not_null converted to inline assembly 2023-04-21 12:18:55 -07:00
verifier_kfunc_prog_types.c selftests/bpf: Verify calling core kfuncs from BPF_PROG_TYPE_SYCALL 2024-04-05 10:58:10 -07:00
verifier_ld_ind.c selftests/bpf: verifier/ld_ind.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_ldsx.c selftests/bpf: Enable cpu v4 tests for LoongArch 2023-11-08 14:12:21 +08:00
verifier_leak_ptr.c selftests/bpf: verifier/leak_ptr.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_loops1.c selftests/bpf: check if imprecise stack spills confuse infinite loop detection 2024-01-23 14:40:22 -08:00
verifier_lwt.c selftests/bpf: verifier/lwt converted to inline assembly 2023-04-21 12:19:20 -07:00
verifier_map_in_map.c selftests/bpf: verifier/map_in_map converted to inline assembly 2023-04-21 12:20:26 -07:00
verifier_map_ptr.c selftests/bpf: verifier/map_ptr.c converted to inline assembly 2023-03-25 17:02:04 -07:00
verifier_map_ptr_mixing.c selftests/bpf: verifier/map_ptr_mixing converted to inline assembly 2023-04-21 12:20:38 -07:00
verifier_map_ret_val.c selftests/bpf: verifier/map_ret_val.c converted to inline assembly 2023-03-25 17:02:05 -07:00
verifier_masking.c selftests/bpf: verifier/masking.c converted to inline assembly 2023-03-25 17:02:05 -07:00
verifier_meta_access.c selftests/bpf: verifier/meta_access.c converted to inline assembly 2023-03-25 17:02:05 -07:00
verifier_movsx.c selftests/bpf: Add a few tests to cover 2024-06-17 10:45:47 -07:00
verifier_netfilter_ctx.c bpf: treewide: Align kfunc signatures to prog point-of-view 2024-06-12 11:01:31 -07:00
verifier_netfilter_retcode.c bpf: enforce precise retval range on program exit 2023-12-02 11:36:50 -08:00
verifier_or_jmp32_k.c selftests/bpf: Add test coverage for reg_set_min_max handling 2024-06-13 11:16:01 -07:00
verifier_precision.c selftests/bpf: add edge case backtracking logic test 2023-11-09 20:11:20 -08:00
verifier_prevent_map_lookup.c selftests/bpf: verifier/prevent_map_lookup converted to inline assembly 2023-04-22 08:26:58 -07:00
verifier_raw_stack.c bpf: Simplify checking size of helper accesses 2024-01-03 10:37:56 -08:00
verifier_raw_tp_writable.c selftests/bpf: verifier/raw_tp_writable.c converted to inline assembly 2023-03-25 17:02:05 -07:00
verifier_ref_tracking.c selftests/bpf: verifier/ref_tracking converted to inline assembly 2023-04-21 12:23:13 -07:00
verifier_reg_equal.c selftests/bpf: Add a selftest for checking subreg equality 2023-04-17 15:50:02 -07:00
verifier_regalloc.c selftests/bpf: verifier/regalloc converted to inline assembly 2023-04-21 12:23:40 -07:00
verifier_ringbuf.c selftests/bpf: verifier/ringbuf.c converted to inline assembly 2023-03-25 17:02:05 -07:00
verifier_runtime_jit.c selftests/bpf: verifier/runtime_jit converted to inline assembly 2023-04-21 12:24:41 -07:00
verifier_scalar_ids.c selftests/bpf: Verify that check_ids() is used for scalars in regsafe() 2023-06-13 15:15:13 -07:00
verifier_sdiv.c selftests/bpf: Enable cpu v4 tests for LoongArch 2023-11-08 14:12:21 +08:00
verifier_search_pruning.c selftests/bpf: verifier/search_pruning converted to inline assembly 2023-04-21 12:25:07 -07:00
verifier_sock.c selftests/bpf: verifier/sock converted to inline assembly 2023-04-21 12:25:19 -07:00
verifier_sock_addr.c selftests/bpf: Expand sockaddr program return value tests 2024-05-12 17:10:42 -07:00
verifier_sockmap_mutate.c selftests/bpf: Cover verifier checks for mutating sockmap/sockhash 2024-05-27 19:34:26 +02:00
verifier_spill_fill.c selftests/bpf: States pruning checks for scalar vs STACK_MISC 2024-02-02 13:22:14 -08:00
verifier_spin_lock.c bpf: Allow calling static subprogs while holding a bpf_spin_lock 2024-02-05 19:58:47 -08:00
verifier_stack_ptr.c bpf: simplify tnum output if a fully known constant 2023-12-02 11:36:51 -08:00
verifier_subprog_precision.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
verifier_subreg.c selftests/bpf: verifier/subreg converted to inline assembly 2023-04-21 12:25:45 -07:00
verifier_typedef.c selftests/bpf: Add test to exercise typedef walking 2023-06-30 10:36:08 +02:00
verifier_uninit.c selftests/bpf: verifier/uninit.c converted to inline assembly 2023-03-25 17:02:05 -07:00
verifier_unpriv.c selftests/bpf: verifier/unpriv converted to inline assembly 2023-04-21 12:26:52 -07:00
verifier_unpriv_perf.c selftests/bpf: verifier/unpriv converted to inline assembly 2023-04-21 12:26:52 -07:00
verifier_value.c selftests/bpf: verifier/value.c converted to inline assembly 2023-03-25 17:02:06 -07:00
verifier_value_adj_spill.c selftests/bpf: verifier/value_adj_spill.c converted to inline assembly 2023-03-25 17:02:06 -07:00
verifier_value_illegal_alu.c selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS 2024-01-16 17:12:48 +01:00
verifier_value_or_null.c selftests/bpf: verifier/value_or_null.c converted to inline assembly 2023-03-25 17:02:06 -07:00
verifier_value_ptr_arith.c selftests/bpf: verifier/value_ptr_arith converted to inline assembly 2023-04-21 12:27:19 -07:00
verifier_var_off.c bpf: Fix accesses to uninit stack slots 2023-12-08 14:19:00 -08:00
verifier_xadd.c selftests/bpf: verifier/xadd.c converted to inline assembly 2023-03-25 17:02:06 -07:00
verifier_xdp.c selftests/bpf: verifier/xdp.c converted to inline assembly 2023-03-25 17:02:06 -07:00
verifier_xdp_direct_packet_access.c selftests/bpf: Verifier/xdp_direct_packet_access.c converted to inline assembly 2023-03-28 14:48:27 -07:00
vrf_socket_lookup.c selftests/bpf: Fix compilation failure for prog vrf_socket_lookup 2023-06-22 11:51:05 +02:00
wq.c selftests/bpf: amend for wrong bpf_wq_set_callback_impl signature 2024-07-08 10:01:48 -07:00
wq_failures.c selftests/bpf: amend for wrong bpf_wq_set_callback_impl signature 2024-07-08 10:01:48 -07:00
xdp_dummy.c selftests/bpf: Normalize XDP section names in selftests 2021-09-28 13:51:19 -07:00
xdp_features.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
xdp_flowtable.c selftests/bpf: fix compilation failure when CONFIG_NF_FLOW_TABLE=m 2024-07-10 11:39:47 -07:00
xdp_hw_metadata.c selftests/bpf: Add flags and VLAN hint to xdp_hw_metadata 2023-12-13 16:16:41 -08:00
xdp_metadata.c selftests/bpf: Check VLAN tag and proto in xdp_metadata 2023-12-13 16:16:41 -08:00
xdp_metadata2.c selftests/bpf: Adjust bpf_xdp_metadata_rx_hash for new arg 2023-04-13 11:15:11 -07:00
xdp_redirect_map.c selftests: Use consistent include paths for libbpf 2020-01-20 16:37:45 -08:00
xdp_redirect_multi_kern.c selftests/bpf: Update cpumap/devmap sec_name 2022-02-01 09:51:31 -08:00
xdp_synproxy_kern.c bpf: selftests: nf: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
xdp_tx.c selftests/bpf: Fix xdp_tx.c prog section name 2021-08-09 23:25:15 +02:00
xdping_kern.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
xdpwall.c selftests/bpf: fix lots of silly mistakes pointed out by compiler 2023-03-10 08:14:08 -08:00
xfrm_info.c bpf: selftests: xfrm: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
xsk_xdp_progs.c selftests/xsk: Add a test for shared umem feature 2023-10-04 15:26:02 +02:00