linux-stable/tools/testing/selftests/bpf/progs
Hou Tao c5c0981fd8 selftests/bpf: Ensure sleepable program is rejected by hash map iter
Add a test to ensure sleepable program is rejected by hash map iterator.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220810080538.1845898-10-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-08-10 10:12:48 -07:00
..
atomic_bounds.c
atomics.c bpf, selftests: Use raw_tp program for atomic test 2022-02-28 16:28:40 +01:00
bind4_prog.c
bind6_prog.c
bind_perm.c
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_cubic.c
bpf_dctcp.c
bpf_dctcp_release.c
bpf_flow.c
bpf_hashmap_full_update_bench.c selftest/bpf/benchs: Add bpf_map benchmark 2022-06-11 14:25:35 -07:00
bpf_iter.h selftests/bpf: add a ksym iter subtest 2022-07-12 15:27:19 -07:00
bpf_iter_bpf_array_map.c
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
bpf_iter_bpf_percpu_array_map.c
bpf_iter_bpf_percpu_hash_map.c
bpf_iter_bpf_sk_storage_helpers.c
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
bpf_iter_ksym.c selftests/bpf: add a ksym iter subtest 2022-07-12 15:27:19 -07:00
bpf_iter_netlink.c
bpf_iter_setsockopt.c
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
bpf_iter_task.c selftests/bpf: Add test for sleepable bpf iterator programs 2022-01-24 19:59:38 -08:00
bpf_iter_task_btf.c
bpf_iter_task_file.c
bpf_iter_task_stack.c
bpf_iter_task_vma.c
bpf_iter_tcp4.c
bpf_iter_tcp6.c
bpf_iter_test_kern1.c
bpf_iter_test_kern2.c
bpf_iter_test_kern3.c
bpf_iter_test_kern4.c
bpf_iter_test_kern5.c
bpf_iter_test_kern6.c
bpf_iter_test_kern_common.h
bpf_iter_udp4.c
bpf_iter_udp6.c
bpf_iter_unix.c selftest/bpf: Fix a stale comment. 2022-01-18 15:45:06 -08:00
bpf_loop.c selftests/bpf: BPF test_prog selftests for bpf_loop inlining 2022-06-20 17:40:52 -07:00
bpf_loop_bench.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
bpf_misc.h selftests/bpf: Use "__se_" prefix on architectures without syscall wrapper 2022-02-07 08:05:17 -08: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: use BPF_KSYSCALL and SEC("ksyscall") in selftests 2022-07-19 09:33:18 -07:00
bpf_tcp_nogpl.c
bpf_tracing_net.h selftests/bpf: lsm_cgroup functional test 2022-06-29 13:21:52 -07:00
bprm_opts.c
btf__core_reloc_arrays.c
btf__core_reloc_arrays___diff_arr_dim.c
btf__core_reloc_arrays___diff_arr_val_sz.c
btf__core_reloc_arrays___equiv_zero_sz_arr.c
btf__core_reloc_arrays___err_bad_zero_sz_arr.c
btf__core_reloc_arrays___err_non_array.c
btf__core_reloc_arrays___err_too_shallow.c
btf__core_reloc_arrays___err_too_small.c
btf__core_reloc_arrays___err_wrong_val_type.c
btf__core_reloc_arrays___fixed_arr.c
btf__core_reloc_bitfields.c
btf__core_reloc_bitfields___bit_sz_change.c
btf__core_reloc_bitfields___bitfield_vs_int.c
btf__core_reloc_bitfields___err_too_big_bitfield.c
btf__core_reloc_bitfields___just_big_enough.c
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
btf__core_reloc_enumval___diff.c
btf__core_reloc_enumval___err_missing.c
btf__core_reloc_enumval___val3_missing.c
btf__core_reloc_existence.c
btf__core_reloc_existence___minimal.c
btf__core_reloc_existence___wrong_field_defs.c
btf__core_reloc_flavors.c
btf__core_reloc_flavors__err_wrong_name.c
btf__core_reloc_ints.c
btf__core_reloc_ints___bool.c
btf__core_reloc_ints___reverse_sign.c
btf__core_reloc_misc.c
btf__core_reloc_mods.c
btf__core_reloc_mods___mod_swap.c
btf__core_reloc_mods___typedefs.c
btf__core_reloc_nesting.c
btf__core_reloc_nesting___anon_embed.c
btf__core_reloc_nesting___dup_compat_types.c
btf__core_reloc_nesting___err_array_container.c
btf__core_reloc_nesting___err_array_field.c
btf__core_reloc_nesting___err_dup_incompat_types.c
btf__core_reloc_nesting___err_missing_container.c
btf__core_reloc_nesting___err_missing_field.c
btf__core_reloc_nesting___err_nonstruct_container.c
btf__core_reloc_nesting___err_partial_match_dups.c
btf__core_reloc_nesting___err_too_deep.c
btf__core_reloc_nesting___extra_nesting.c
btf__core_reloc_nesting___struct_union_mixup.c
btf__core_reloc_primitives.c
btf__core_reloc_primitives___diff_enum_def.c
btf__core_reloc_primitives___diff_func_proto.c
btf__core_reloc_primitives___diff_ptr_type.c
btf__core_reloc_primitives___err_non_enum.c
btf__core_reloc_primitives___err_non_int.c
btf__core_reloc_primitives___err_non_ptr.c
btf__core_reloc_ptr_as_arr.c
btf__core_reloc_ptr_as_arr___diff_sz.c
btf__core_reloc_size.c
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
btf__core_reloc_size___err_ambiguous.c
btf__core_reloc_type_based.c
btf__core_reloc_type_based___all_missing.c
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
btf__core_reloc_type_based___fn_wrong_args.c
btf__core_reloc_type_based___incompat.c
btf__core_reloc_type_id.c
btf__core_reloc_type_id___missing_targets.c
btf_data.c
btf_dump_test_case_bitfields.c
btf_dump_test_case_multidim.c
btf_dump_test_case_namespacing.c
btf_dump_test_case_ordering.c
btf_dump_test_case_packing.c
btf_dump_test_case_padding.c
btf_dump_test_case_syntax.c selftests/bpf: fix btf_dump/btf_dump due to recent clang change 2022-05-23 12:53:34 -07:00
btf_ptr.h
btf_type_tag.c
btf_type_tag_percpu.c selftests/bpf: Add a test for btf_type_tag "percpu" 2022-03-05 18:39:51 -08:00
btf_type_tag_user.c selftests/bpf: add a selftest with __user tag 2022-01-27 12:03:46 -08:00
cg_storage_multi.h
cg_storage_multi_egress_only.c
cg_storage_multi_isolated.c
cg_storage_multi_shared.c
cgroup_getset_retval_getsockopt.c selftests/bpf: Test bpf_{get,set}_retval behavior with cgroup/sockopt 2022-01-19 12:51:30 -08:00
cgroup_getset_retval_setsockopt.c selftests/bpf: Test bpf_{get,set}_retval behavior with cgroup/sockopt 2022-01-19 12:51:30 -08:00
cgroup_skb_sk_lookup_kern.c
connect4_dropper.c
connect4_prog.c
connect6_prog.c
connect_force_port4.c
connect_force_port6.c
core_kern.c selftests/bpf: Test bpf_core_types_are_compat() functionality. 2022-02-04 11:29:01 -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
dev_cgroup.c
dummy_st_ops.c
dynptr_fail.c bpf: Add flags arg to bpf_dynptr_read and bpf_dynptr_write APIs 2022-07-08 10:55:53 +02:00
dynptr_success.c bpf: Add flags arg to bpf_dynptr_read and bpf_dynptr_write APIs 2022-07-08 10:55:53 +02:00
exhandler_kern.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
fentry_test.c
fexit_bpf2bpf.c
fexit_bpf2bpf_simple.c
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
find_vma.c
find_vma_fail1.c
find_vma_fail2.c
fmod_ret_freplace.c
for_each_array_map_elem.c
for_each_hash_map_elem.c
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
freplace_attach_probe.c
freplace_cls_redirect.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
freplace_connect4.c
freplace_connect_v4_prog.c
freplace_get_constant.c
freplace_global_func.c selftests/bpf: Add selftest for calling global functions from freplace 2022-06-07 10:41:20 -07:00
get_branch_snapshot.c
get_cgroup_id_kern.c
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
ima.c selftests/bpf: Check that bpf_kernel_read_file() denies reading IMA policy 2022-03-10 18:57:55 -08:00
kfree_skb.c
kfunc_call_race.c selftests/bpf: Add test for race in btf_try_get_module 2022-01-18 14:27:39 -08:00
kfunc_call_test.c selftests/bpf: Extend kfunc selftests 2022-01-18 14:26:42 -08:00
kfunc_call_test_subprog.c
kprobe_multi.c selftests/bpf: Shuffle cookies symbols in kprobe multi test 2022-06-16 19:42:21 -07:00
kprobe_multi_empty.c selftests/bpf: Add attach bench test 2022-05-10 14:42:06 -07: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: Add CO-RE relos and SEC("?...") to linked_funcs selftests 2022-04-26 15:41:46 -07:00
linked_funcs2.c selftests/bpf: Add CO-RE relos and SEC("?...") to linked_funcs selftests 2022-04-26 15:41:46 -07:00
linked_maps1.c
linked_maps2.c
linked_vars1.c
linked_vars2.c
load_bytes_relative.c
local_storage.c selftests/bpf: Test for associating multiple elements with the local storage 2022-03-20 18:55:05 -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
loop2.c
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
loop5.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
loop6.c
lru_bug.c selftests/bpf: Add test for prealloc_lru_pop bug 2022-08-09 18:46:11 -07:00
lsm.c
lsm_cgroup.c bpf: Check attach_func_proto more carefully in check_return_code 2022-07-08 23:01:26 +02: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_kptr.c selftests/bpf: Add tests for kptr_ref refcounting 2022-05-11 16:57:27 -07:00
map_kptr_fail.c selftests/bpf: Add negative C tests for kptrs 2022-05-11 16:57:27 -07:00
map_ptr_kern.c selftests/bpf: Fix warning comparing pointer to 0 2022-03-30 14:17:25 +02:00
metadata_unused.c
metadata_used.c
modify_return.c
mptcp_sock.c selftests/bpf: Verify first of struct mptcp_sock 2022-05-20 15:36:48 -07:00
netcnt_prog.c
netif_receive_skb.c
netns_cookie_prog.c
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 tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
profiler.h
profiler.inc.h selftests/bpf: Fix vfs_link kprobe definition 2022-04-03 16:41:24 -07:00
profiler1.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
profiler2.c
profiler3.c
pyperf.h libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
pyperf50.c
pyperf100.c
pyperf180.c
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_nounroll.c
pyperf_global.c
pyperf_subprogs.c
recursion.c
recvmsg4_prog.c
recvmsg6_prog.c
ringbuf_bench.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
sample_map_ret0.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
sample_ret0.c
sendmsg4_prog.c
sendmsg6_prog.c
skb_load_bytes.c selftests/bpf: Add test for skb_load_bytes 2022-04-20 23:48:34 +02:00
skb_pkt_end.c
socket_cookie_prog.c
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
sockmap_verdict_prog.c
sockopt_inherit.c
sockopt_multi.c
sockopt_qos_to_cc.c
sockopt_sk.c selftests: bpf: Less strict size check in sockopt_sk 2022-01-25 18:25:05 -08: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
strobemeta.h selftests/bpf: Measure bpf_loop verifier performance 2021-11-30 10:56:28 -08:00
strobemeta_bpf_loop.c selftests/bpf: Measure bpf_loop verifier performance 2021-11-30 10:56:28 -08:00
strobemeta_nounroll1.c
strobemeta_nounroll2.c
strobemeta_subprogs.c
syscall.c
tailcall1.c
tailcall2.c
tailcall3.c
tailcall4.c
tailcall5.c
tailcall6.c
tailcall_bpf2bpf1.c
tailcall_bpf2bpf2.c
tailcall_bpf2bpf3.c
tailcall_bpf2bpf4.c
tailcall_bpf2bpf6.c selftests/bpf: Test tail call counting with bpf2bpf and data on stack 2022-06-16 21:49:05 +02:00
task_local_storage.c
task_local_storage_exit_creds.c
task_ls_recursion.c
tcp_ca_incompl_cong_ops.c selftests/bpf: Test an incomplete BPF CC 2022-06-23 09:49:57 -07:00
tcp_ca_unsupp_cong_op.c selftests/bpf: Test a BPF CC implementing the unsupported get_info() 2022-06-23 09:49:58 -07:00
tcp_ca_write_sk_pacing.c selftests/bpf: Test a BPF CC writing sk_pacing_* 2022-06-23 09:49:57 -07:00
tcp_rtt.c
test_attach_probe.c selftests/bpf: use BPF_KSYSCALL and SEC("ksyscall") in selftests 2022-07-19 09:33:18 -07:00
test_autoload.c
test_bpf_cookie.c selftest/bpf: The test cases of BPF cookie for fentry/fexit/fmod_ret/lsm. 2022-05-10 21:58:40 -07:00
test_bpf_nf.c selftests/bpf: Add tests for new nf_conntrack kfuncs 2022-07-21 21:03:17 -07:00
test_bpf_nf_fail.c selftests/bpf: Add negative tests for new nf_conntrack kfuncs 2022-07-21 21:03:17 -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
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
test_cgroup_link.c
test_check_mtu.c
test_cls_redirect.c
test_cls_redirect.h
test_cls_redirect_subprogs.c
test_core_autosize.c
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
test_core_reloc_arrays.c
test_core_reloc_bitfields_direct.c
test_core_reloc_bitfields_probed.c
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
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
test_core_reloc_ints.c
test_core_reloc_kernel.c selftests/bpf: Add type match test against kernel's task_struct 2022-07-05 21:15:19 -07:00
test_core_reloc_misc.c
test_core_reloc_mods.c
test_core_reloc_module.c
test_core_reloc_nesting.c
test_core_reloc_primitives.c
test_core_reloc_ptr_as_arr.c
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
test_core_retro.c
test_custom_sec_handlers.c selftests/bpf: Add custom SEC() handling selftest 2022-03-05 09:38:15 -08:00
test_d_path.c
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_enable_stats.c
test_endian.c
test_get_stack_rawtp.c
test_get_stack_rawtp_err.c
test_global_data.c
test_global_func1.c
test_global_func2.c
test_global_func3.c
test_global_func4.c
test_global_func5.c
test_global_func6.c
test_global_func7.c
test_global_func8.c
test_global_func9.c
test_global_func10.c
test_global_func11.c
test_global_func12.c
test_global_func13.c
test_global_func14.c
test_global_func15.c
test_global_func16.c
test_global_func17.c selftests/bpf: Test passing rdonly mem to global func 2022-04-06 10:32:12 -07:00
test_global_func_args.c
test_hash_large_key.c
test_helper_restricted.c selftests/bpf: Use non-autoloaded programs in few tests 2022-04-19 13:48:20 -07:00
test_jhash.h
test_ksyms.c
test_ksyms_btf.c
test_ksyms_btf_null_check.c
test_ksyms_btf_write_check.c selftests/bpf: Test passing rdonly mem to global func 2022-04-06 10:32:12 -07:00
test_ksyms_module.c
test_ksyms_weak.c selftests/bpf: Revert CO-RE removal in test_ksyms_weak. 2021-12-02 11:18:36 -08:00
test_l4lb.c
test_l4lb_noinline.c selftests/bpf: Return true/false (not 1/0) from bool functions 2022-04-03 16:42:43 -07:00
test_legacy_printk.c selftests/bpf: Mix legacy (maps) and modern (vars) BPF in one test 2021-11-25 23:05:23 +01:00
test_link_pinning.c
test_lirc_mode2_kern.c
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: Test bpf_map__set_autocreate() and related log fixup logic 2022-04-28 20:03:29 -07:00
test_lookup_and_delete.c
test_lwt_ip_encap.c
test_lwt_seg6local.c
test_map_in_map.c
test_map_in_map_invalid.c
test_map_init.c
test_map_lock.c
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_migrate_reuseport.c
test_misc_tcp_hdr_options.c
test_mmap.c
test_module_attach.c selftests/bpf: Use target-less SEC() definitions in various tests 2022-04-28 23:46:04 +02:00
test_ns_current_pid_tgid.c
test_obj_id.c
test_overhead.c
test_pe_preserve_elems.c
test_perf_branches.c
test_perf_buffer.c
test_perf_link.c
test_pinning.c
test_pinning_invalid.c
test_pkt_access.c libbpf: Provide barrier() and barrier_var() in bpf_helpers.h 2022-05-09 17:15:32 +02:00
test_pkt_md_access.c
test_probe_read_user_str.c
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_queue_map.c
test_queue_stack_map.h
test_raw_tp_test_run.c
test_rdonly_maps.c
test_ringbuf.c selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
test_ringbuf_multi.c selftests/bpf: Test libbpf's ringbuf size fix up logic 2022-05-09 17:15:32 +02:00
test_seg6_loop.c
test_select_reuseport_kern.c
test_send_signal_kern.c Improve send_signal BPF test stability 2022-03-08 17:39:29 -08:00
test_sk_assign.c selftests/bpf: Remove unused variable from bpf_sk_assign test 2022-04-01 22:35:29 +02:00
test_sk_lookup.c selftests/bpf: Fix test for 4-byte load from remote_port on big-endian 2022-03-20 18:59:00 -07:00
test_sk_lookup_kern.c selftests/bpf: Use non-autoloaded programs in few tests 2022-04-19 13:48:20 -07:00
test_sk_storage_trace_itself.c
test_sk_storage_tracing.c dccp/tcp: Remove an unused argument in inet_csk_listen_start(). 2021-11-23 20:16:18 -08: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
test_skb_helpers.c
test_skc_to_unix_sock.c af_unix: Remove UNIX_ABSTRACT() macro and test sun_path[0] instead. 2021-11-26 18:01:56 -08:00
test_skeleton.c selftests/bpf: validate .bss section bigger than 8MB is possible now 2022-07-19 09:45:34 -07:00
test_skmsg_load_helpers.c
test_snprintf.c
test_snprintf_single.c
test_sock_fields.c selftests/bpf: Fix test for 4-byte load from dst_port on big-endian 2022-03-18 15:46:59 +01:00
test_sockhash_kern.c
test_sockmap_invalid_update.c
test_sockmap_kern.c
test_sockmap_kern.h selftests: bpf: Check bpf_msg_push_data return value 2022-02-15 10:10:31 -08:00
test_sockmap_listen.c
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
test_sockmap_update.c
test_spin_lock.c
test_stack_map.c
test_stack_var_off.c
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 tools/testing/selftests/bpf: replace open-coded 16 with TASK_COMM_LEN 2022-01-20 08:52:53 +02:00
test_static_linked1.c
test_static_linked2.c
test_subprogs.c selftests/bpf: Check combination of jit blinding and pointers to bpf subprogs. 2022-05-13 15:13:48 +02:00
test_subprogs_unused.c
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
test_sysctl_loop2.c
test_sysctl_prog.c
test_task_pt_regs.c libbpf: Add auto-attach for uprobes based on section name 2022-04-03 19:55:57 -07:00
test_tc_bpf.c
test_tc_dtime.c selftests/bpf: Fix tc_redirect_dtime 2022-06-03 14:53:33 -07:00
test_tc_edt.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
test_tc_neigh.c
test_tc_neigh_fib.c
test_tc_peer.c
test_tc_tunnel.c
test_tcp_check_syncookie_kern.c selftests/bpf: convert remaining legacy map definitions 2022-01-20 21:19:05 -08:00
test_tcp_estats.c
test_tcp_hdr_options.c
test_tcpbpf_kern.c
test_tcpnotify_kern.c
test_trace_ext.c
test_trace_ext_tracing.c
test_tracepoint.c tools/testing/selftests/bpf: replace open-coded 16 with TASK_COMM_LEN 2022-01-20 08:52:53 +02: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: Don't assign outer source IP to host 2022-07-26 12:43:48 +02:00
test_unpriv_bpf_disabled.c selftests/bpf: add tests verifying unprivileged bpf behaviour 2022-05-20 19:54:34 -07:00
test_uprobe_autoattach.c selftests/bpf: Uprobe tests should verify param/return values 2022-04-07 11:42:51 -07: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: Add urandom_read shared lib and USDTs 2022-04-05 13:16:08 -07:00
test_varlen.c selftests/bpf: Fix test_varlen verification failure with latest llvm 2022-06-14 16:17:07 -07:00
test_verif_scale1.c
test_verif_scale2.c selftests/bpf: Add CO-RE relocations to verifier scale test. 2021-12-02 11:18:36 -08:00
test_verif_scale3.c
test_vmlinux.c
test_xdp.c
test_xdp_adjust_tail_grow.c bpf: selftests: update xdp_adjust_tail selftest to include xdp frags 2022-01-21 14:14:02 -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_bpf2bpf.c bpf: add frags support to xdp copy helpers 2022-01-21 14:14:02 -08:00
test_xdp_context_test_run.c
test_xdp_devmap_helpers.c
test_xdp_do_redirect.c selftests/bpf: Add selftest for XDP_REDIRECT in BPF_PROG_RUN 2022-03-09 14:19:23 -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
test_xdp_meta.c
test_xdp_noinline.c selftests/bpf: Return true/false (not 1/0) from bool functions 2022-07-13 23:09:16 -07:00
test_xdp_redirect.c
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
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
timer_crash.c selftests/bpf: Add test for bpf_timer overwriting crash 2022-02-11 13:13:04 -08:00
timer_mim.c
timer_mim_reject.c
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
trigger_bench.c libbpf: Add auto-attach for uprobes based on section name 2022-04-03 19:55:57 -07:00
twfw.c
udp_limit.c
xdp_dummy.c
xdp_redirect_map.c
xdp_redirect_multi_kern.c selftests/bpf: Update cpumap/devmap sec_name 2022-02-01 09:51:31 -08:00
xdp_synproxy_kern.c selftests/bpf: Fix xdp_synproxy build failure if CONFIG_NF_CONNTRACK=m/n 2022-07-08 15:58:45 -07:00
xdp_tx.c
xdping_kern.c
xdpwall.c