milos-linux/tools/testing/selftests/bpf/progs
Linus Torvalds ff57d59200 LoongArch changes for v7.1
1, Adjust build infrastructure for 32BIT/64BIT;
 2, Add HIGHMEM (PKMAP and FIX_KMAP) support;
 3, Show and handle CPU vulnerabilites correctly;
 4, Batch the icache maintenance for jump_label;
 5, Add more atomic instructions support for BPF JIT;
 6, Add more features (e.g. fsession) support for BPF trampoline;
 7, Some bug fixes and other small changes.
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCAA0FiEEzOlt8mkP+tbeiYy5AoYrw/LiJnoFAmnpwWgWHGNoZW5odWFj
 YWlAa2VybmVsLm9yZwAKCRAChivD8uImeiAXD/0RSRhj2y8LYGhVSPStMgN4uwMl
 1ylbkRg0biTvV0g8sD1R3MQ58/tKBZY5wTeLjwT50rl+JgOqVdrN6OMAxjwOKzJ6
 7C0rgpxBG5/YHI93paFVIYszsiWhRQaB5qfZCUOr230ZDJzvnfF1aH6JLybeHoMp
 HvERNURQsRbZo9yc69YxhrmHETEbum37u9hsrY5mJSEs5Fh+QxvTSYjE36z3Dtal
 YFqopTCaBgAhVw6BldVAcyvGvVK+d6iQEA035jObNLKKReNkwsQixxgnJhDSkbbG
 Z3md+hWp+YQQElGIP5q6+rj1rJZGrs/XL3HAnTQfXN+8bXIUO9AOf2/l5f9fZx7o
 2Vtt8n2/vVdzsVnKiHXGtsZ5uXrw4/kLiMZSCrUMZCtEOxJV9mmrVskPeie0iq0/
 nDG9uCgRldL8Xpg7d5NM9coECui3J+ztNkv06tL/JLm02bJPuqNwt3FeA1T/aH1c
 l2Hpw3Xuzl7lYuAYoa5CMm4X6yD/RA6w44pW1NKnb6j6llIOk6V6NwcwggWUnqht
 oB5VIqPKMOYjZ+fLurI2o9VWqWokJxDdzyrHhXyaG0JRK9Vak06C8UI5BQuosu88
 9WBoxK77PyNa60m56C32OZ5tu4UoPT8PgZWXDQDwn82SWzuYKWRruS2ng5A/JF7r
 H2Ez4iBjs2/P7vTQHA==
 =FiFl
 -----END PGP SIGNATURE-----

Merge tag 'loongarch-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson

Pull LoongArch updates from Huacai Chen:

 - Adjust build infrastructure for 32BIT/64BIT

 - Add HIGHMEM (PKMAP and FIX_KMAP) support

 - Show and handle CPU vulnerabilites correctly

 - Batch the icache maintenance for jump_label

 - Add more atomic instructions support for BPF JIT

 - Add more features (e.g. fsession) support for BPF trampoline

 - Some bug fixes and other small changes

* tag 'loongarch-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: (21 commits)
  selftests/bpf: Enable CAN_USE_LOAD_ACQ_STORE_REL for LoongArch
  LoongArch: BPF: Add fsession support for trampolines
  LoongArch: BPF: Introduce emit_store_stack_imm64() helper
  LoongArch: BPF: Support up to 12 function arguments for trampoline
  LoongArch: BPF: Support small struct arguments for trampoline
  LoongArch: BPF: Open code and remove invoke_bpf_mod_ret()
  LoongArch: BPF: Support load-acquire and store-release instructions
  LoongArch: BPF: Support 8 and 16 bit read-modify-write instructions
  LoongArch: BPF: Add the default case in emit_atomic() and rename it
  LoongArch: Define instruction formats for AM{SWAP/ADD}.{B/H} and DBAR
  LoongArch: Batch the icache maintenance for jump_label
  LoongArch: Add flush_icache_all()/local_flush_icache_all()
  LoongArch: Add spectre boundry for syscall dispatch table
  LoongArch: Show CPU vulnerabilites correctly
  LoongArch: Make arch_irq_work_has_interrupt() true only if IPI HW exist
  LoongArch: Use get_random_canary() for stack canary init
  LoongArch: Improve the logging of disabling KASLR
  LoongArch: Align FPU register state to 32 bytes
  LoongArch: Handle CONFIG_32BIT in syscall_get_arch()
  LoongArch: Add HIGHMEM (PKMAP and FIX_KMAP) support
  ...
2026-04-24 09:54:45 -07:00
..
access_map_in_map.c
arena_atomics.c selftests/bpf: Enable arena atomics tests for RV64 2025-08-15 10:46:51 +02:00
arena_htab.c
arena_htab_asm.c
arena_list.c selftests: bpf: test non-sleepable arena allocations 2025-12-23 11:30:00 -08:00
arena_spin_lock.c selftests/bpf: Fix arena_spin_lock selftest failure 2025-09-15 10:49:18 -07:00
arena_strsearch.c selftests/bpf: Convert glob_match() to bpf arena 2025-11-14 13:57:28 -08:00
async_stack_depth.c
atomic_bounds.c
atomics.c
bad_struct_ops.c
bad_struct_ops2.c
bench_local_storage_create.c selftests/bpf: Remove kmalloc tracing from local storage create bench 2026-04-10 21:22:31 -07:00
bench_sockmap_prog.c
bind4_prog.c
bind6_prog.c
bind_perm.c
bind_prog.h
bloom_filter_bench.c
bloom_filter_map.c
bpf_arena_spin_lock.h selftests/bpf: Fix "expression result unused" warnings with icecc 2025-09-09 15:07:58 -07:00
bpf_cc_cubic.c tcp: add cwnd_event_tx_start to tcp_congestion_ops 2026-03-24 21:00:38 -07:00
bpf_compiler.h
bpf_cubic.c tcp: add cwnd_event_tx_start to tcp_congestion_ops 2026-03-24 21:00:38 -07:00
bpf_dctcp.c selftests/bpf: Move common TCP helpers into bpf_tracing_net.h 2025-11-18 14:57:45 -08:00
bpf_dctcp_release.c
bpf_flow.c
bpf_gotox.c selftests/bpf: Add more tests for loading insn arrays with offsets 2026-04-06 18:38:32 -07:00
bpf_hashmap_full_update_bench.c
bpf_hashmap_lookup.c
bpf_iter_bpf_array_map.c
bpf_iter_bpf_hash_map.c
bpf_iter_bpf_link.c
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
bpf_iter_ipv6_route.c
bpf_iter_ksym.c
bpf_iter_map_elem.c
bpf_iter_netlink.c
bpf_iter_setsockopt.c selftests/bpf: Replace TCP CC string comparisons with bpf_strncmp 2025-11-18 14:57:53 -08:00
bpf_iter_setsockopt_unix.c
bpf_iter_sockmap.c
bpf_iter_task_btf.c
bpf_iter_task_file.c
bpf_iter_task_stack.c
bpf_iter_task_vmas.c
bpf_iter_tasks.c
bpf_iter_tcp4.c tcp: remove icsk->icsk_retransmit_timer 2025-11-25 19:28:29 -08:00
bpf_iter_tcp6.c tcp: remove icsk->icsk_retransmit_timer 2025-11-25 19:28:29 -08:00
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 udp: add drop_counters to udp socket 2025-08-28 13:14:50 +02:00
bpf_iter_udp6.c udp: add drop_counters to udp socket 2025-08-28 13:14:50 +02:00
bpf_iter_unix.c selftests/bpf: Extend bpf_iter_unix to attempt deadlocking 2026-04-15 17:22:55 -07:00
bpf_iter_vma_offset.c
bpf_loop.c
bpf_loop_bench.c
bpf_misc.h LoongArch changes for v7.1 2026-04-24 09:54:45 -07:00
bpf_mod_race.c
bpf_qdisc_common.h
bpf_qdisc_fail__incompl_ops.c
bpf_qdisc_fifo.c
bpf_qdisc_fq.c
bpf_smc.c selftests/bpf: Handle !CONFIG_SMC in bpf_smc.c 2026-03-10 17:40:15 -07:00
bpf_syscall_macro.c
bpf_tcp_nogpl.c
bpf_test_utils.h selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
bpf_tracing_net.h selftests/bpf: Move common TCP helpers into bpf_tracing_net.h 2025-11-18 14:57:45 -08: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_signed_arr_elem_sz.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
btf__core_reloc_enum64val___diff.c
btf__core_reloc_enum64val___err_missing.c
btf__core_reloc_enum64val___val3_missing.c
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
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
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
btf_ptr.h
btf_type_tag.c
btf_type_tag_percpu.c
btf_type_tag_user.c
cb_refs.c
cg_storage_multi.h
cg_storage_multi_egress_only.c
cg_storage_multi_isolated.c
cg_storage_multi_shared.c
cgroup_ancestor.c
cgroup_getset_retval_getsockopt.c
cgroup_getset_retval_hooks.c
cgroup_getset_retval_setsockopt.c
cgroup_hierarchical_stats.c selftests: bpf: fix cgroup_hierarchical_stats 2026-01-02 12:04:29 -08:00
cgroup_iter.c
cgroup_iter_memcg.c selftests/bpf: Use bpf_core_enum_value for stats in cgroup_iter_memcg 2026-03-10 11:53:48 -07:00
cgroup_mprog.c
cgroup_preorder.c
cgroup_read_xattr.c bpf: Enforce RCU protection for KF_RCU_PROTECTED 2025-09-18 15:36:17 -07:00
cgroup_skb_direct_packet_access.c
cgroup_skb_sk_lookup_kern.c
cgroup_storage.c selftests/bpf: Add test for cgroup storage OOB read 2026-04-12 13:36:32 -07:00
cgroup_tcp_skb.c
cgrp_kfunc_common.h
cgrp_kfunc_failure.c
cgrp_kfunc_success.c selftests/bpf: Add a test for bpf_cgroup_from_id lookup in non-root cgns 2025-09-15 10:53:15 -07:00
cgrp_ls_attach_cgroup.c
cgrp_ls_negative.c
cgrp_ls_recursion.c
cgrp_ls_sleepable.c
cgrp_ls_tp_btf.c
clone_attach_btf_id.c selftests/bpf: Test bpf_program__clone() attach_btf_id override 2026-03-21 13:17:14 -07:00
compute_live_registers.c selftests/bpf: Extend live regs tests with a test for gotox 2026-01-14 19:08:09 -08:00
connect4_dropper.c
connect4_prog.c selftests/bpf: Replace TCP CC string comparisons with bpf_strncmp 2025-11-18 14:57:53 -08:00
connect6_prog.c
connect_force_port4.c selftests/bpf: Improve connect_force_port test reliability 2026-03-23 11:37:34 -07:00
connect_force_port6.c selftests/bpf: Improve connect_force_port test reliability 2026-03-23 11:37:34 -07:00
connect_ping.c
connect_unix_prog.c
core_kern.c
core_kern_overflow.c
core_reloc_types.h
cpumask_common.h
cpumask_failure.c bpf: Remove redundant KF_TRUSTED_ARGS flag from all kfuncs 2026-01-02 12:04:28 -08:00
cpumask_success.c
crypto_basic.c
crypto_bench.c
crypto_common.h
crypto_sanity.c selftests/bpf: Extend crypto_sanity selftest with invalid dst buffer 2025-09-09 15:07:57 -07:00
csum_diff_test.c
decap_sanity.c
dev_cgroup.c
dmabuf_iter.c selftests/bpf: Fix OOB read in dmabuf_collector 2026-02-26 11:28:04 -08:00
dummy_st_ops_fail.c
dummy_st_ops_success.c
dynptr_fail.c selftests/bpf: Test overwriting referenced dynptr 2026-04-07 18:20:49 -07:00
dynptr_success.c bpf: widen dynptr size/offset to 64 bit 2025-10-27 09:56:26 -07:00
empty_skb.c selftests/bpf: cover short IPv4/IPv6 inputs with adjust_room 2026-04-12 15:42:57 -07:00
epilogue_exit.c
epilogue_tailcall.c
err.h
exceptions.c selftests: bpf: Add tests for void global subprogs 2026-03-03 08:47:23 -08:00
exceptions_assert.c selftests/bpf: update existing tests due to liveness changes 2026-04-10 15:13:37 -07:00
exceptions_ext.c
exceptions_fail.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 7.0-rc5 2026-03-22 19:33:29 -07:00
exhandler_kern.c
fd_htab_lookup.c
fentry_many_args.c
fentry_recursive.c
fentry_recursive_target.c
fentry_test.c
fexit_bpf2bpf.c
fexit_bpf2bpf_simple.c
fexit_many_args.c
fexit_sleep.c
fexit_test.c
fib_lookup.c
file_reader.c bpf: Migrate bpf_task_work_schedule_* kfuncs to KF_IMPLICIT_ARGS 2026-01-20 16:22:20 -08:00
file_reader_fail.c selftests/bpf: add file dynptr tests 2025-10-27 09:56:27 -07:00
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_hash_modify.c
for_each_map_elem_write_key.c
for_each_multi_maps.c
free_timer.c bpf: adapt selftests to GCC 16 -Wunused-but-set-variable 2026-01-06 21:04:11 -08:00
freplace_attach_probe.c
freplace_cls_redirect.c
freplace_connect4.c
freplace_connect_v4_prog.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
freplace_dead_global_func.c
freplace_get_constant.c
freplace_global_func.c
freplace_int_with_void.c selftests: bpf: Add tests for void global subprogs 2026-03-03 08:47:23 -08:00
freplace_progmap.c
freplace_unreliable_prog.c
freplace_void.c selftests: bpf: Add tests for void global subprogs 2026-03-03 08:47:23 -08:00
fsession_test.c selftests/bpf: test fsession mixed with fentry and fexit 2026-01-24 18:49:37 -08:00
get_branch_snapshot.c
get_cgroup_id_kern.c
get_func_args_fsession_test.c selftests/bpf: factor out get_func_* tests for fsession 2026-03-03 08:36:26 -08:00
get_func_args_test.c selftests/bpf: factor out get_func_* tests for fsession 2026-03-03 08:36:26 -08:00
get_func_ip_fsession_test.c selftests/bpf: factor out get_func_* tests for fsession 2026-03-03 08:36:26 -08:00
get_func_ip_test.c selftests/bpf: factor out get_func_* tests for fsession 2026-03-03 08:36:26 -08:00
get_func_ip_uprobe_test.c
getpeername4_prog.c
getpeername6_prog.c
getpeername_unix_prog.c
getsockname4_prog.c
getsockname6_prog.c
getsockname_unix_prog.c
htab_mem_bench.c
htab_reuse.c selftests/bpf: Add torn write detection test for htab BPF_F_LOCK 2026-04-05 18:37:32 -07:00
htab_update.c selftests/bpf: Fix htab_update/reenter_update selftest failure 2025-11-24 16:48:28 -08:00
ima.c
inner_array_lookup.c
ip_check_defrag.c selftests/bpf: remove unnecessary kfunc prototypes 2025-10-27 09:56:26 -07:00
irq.c bpf: Consolidate sleepable checks in check_func_call() 2026-03-21 13:09:35 -07:00
iter_buf_null_fail.c selftests/bpf: add test for nullable PTR_TO_BUF access 2026-04-07 15:53:45 -07:00
iters.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
iters_css.c selftests/bpf: cover BPF_CGROUP_ITER_CHILDREN control option 2026-01-27 09:06:03 -08:00
iters_css_task.c
iters_looping.c selftests/bpf: Test widen_imprecise_scalars() with different stack depth 2025-11-14 09:26:28 -08:00
iters_num.c
iters_state_safety.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
iters_task.c
iters_task_failure.c bpf: Enforce RCU protection for KF_RCU_PROTECTED 2025-09-18 15:36:17 -07:00
iters_task_vma.c
iters_testmod.c selftests/bpf: Add tests for KF_RCU_PROTECTED 2025-09-18 15:36:17 -07:00
iters_testmod_seq.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
jeq_infer_not_null_fail.c
jit_probe_mem.c
kfree_skb.c
kfunc_call_destructive.c
kfunc_call_fail.c
kfunc_call_race.c
kfunc_call_test.c selftests/bpf: Improve test coverage for kfunc call 2026-03-13 07:13:35 -07:00
kfunc_call_test_subprog.c
kfunc_implicit_args.c selftests/bpf: Add tests for KF_IMPLICIT_ARGS 2026-01-20 16:15:57 -08:00
kfunc_module_order.c
kmem_cache_iter.c
kprobe_multi.c
kprobe_multi_empty.c
kprobe_multi_override.c selftests/bpf: Add test for bpf_override_return helper 2026-01-15 16:15:26 -08:00
kprobe_multi_session.c selftests/bpf: Add tests for kprobe.session optimization 2026-03-05 15:14:53 -08:00
kprobe_multi_session_cookie.c bpf: change prototype of bpf_session_{cookie,is_return} 2026-01-24 18:49:35 -08:00
kprobe_multi_sleepable.c selftests/bpf: Add test to ensure kprobe_multi is not sleepable 2026-04-08 18:15:56 -07:00
kprobe_multi_verifier.c
kprobe_write_ctx.c selftests/bpf: Add test to verify the fix of kprobe_write_ctx abuse 2026-04-02 09:29:49 -07:00
kptr_xchg_inline.c selftests/bpf: Update kfuncs using btf_struct_meta to new variants 2026-03-29 09:56:06 -07:00
ksym_race.c
linked_funcs1.c
linked_funcs2.c
linked_list.c
linked_list.h
linked_list_fail.c selftests/bpf: Fix "expression result unused" warnings with icecc 2025-09-09 15:07:58 -07:00
linked_list_peek.c
linked_maps1.c
linked_maps2.c
linked_vars1.c
linked_vars2.c
livepatch_trampoline.c selftests/bpf: Add tests for livepatch + bpf trampoline 2025-11-03 17:22:06 -08:00
load_bytes_relative.c
local_kptr_stash.c
local_kptr_stash_fail.c
local_storage.c selftests/bpf: Fix outdated test on storage->smap 2026-02-06 14:48:05 -08:00
local_storage_bench.c
local_storage_rcu_tasks_trace_bench.c
loop1.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
loop2.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
loop3.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
loop4.c
loop5.c
loop6.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
lpm_trie.h selftests/bpf: Add LPM trie microbenchmarks 2025-08-27 17:28:14 -07:00
lpm_trie_bench.c selftests/bpf: Add LPM trie microbenchmarks 2025-08-27 17:28:14 -07:00
lpm_trie_map.c selftests/bpf: Add LPM trie microbenchmarks 2025-08-27 17:28:14 -07:00
lru_bug.c
lsm.c bpf: mark vma->{vm_mm,vm_file} as __safe_trusted_or_null 2025-10-18 19:23:08 -07:00
lsm_bdev.c selftests/bpf: add block device management selftests 2026-03-27 09:05:13 -07:00
lsm_cgroup.c
lsm_cgroup_nonvoid.c
lsm_tailcall.c selftests/bpf: Remove usage of lsm/file_alloc_security in selftest 2025-11-28 15:18:28 -08:00
lwt_misc.c selftests/bpf: Add selftests for the invocation of bpf_lwt_xmit_push_encap 2026-03-04 16:44:29 -08:00
map_excl.c selftests/bpf: Add tests for exclusive maps 2025-09-18 19:11:42 -07:00
map_in_map_btf.c
map_kptr.c selftests/bpf: Fix map_kptr test failure 2026-01-16 14:59:57 -08:00
map_kptr_fail.c selftests/bpf: Reject scalar store into kptr slot 2026-04-16 15:20:27 -07:00
map_kptr_race.c selftests/bpf: Add tests for special fields races 2026-02-27 15:39:00 -08:00
map_percpu_stats.c
map_ptr_kern.c selftests/bpf: Test access to ringbuf position with map pointer 2026-03-31 15:47:14 -07:00
mem_rdonly_untrusted.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
metadata_unused.c
metadata_used.c
missed_kprobe.c
missed_kprobe_recursion.c
missed_tp_recursion.c
mmap_inner_array.c
modify_return.c selftests/bpf: Isolate fmod_ret hooks by pid 2026-03-18 17:16:06 -07:00
mptcp_bpf.h
mptcp_sock.c
mptcp_sockmap.c selftests/bpf: Add mptcp test with sockmap 2025-11-13 13:18:25 -08:00
mptcp_subflow.c mptcp: pm: rename 'subflows' to 'extra_subflows' 2025-09-26 17:44:04 -07:00
mptcpify.c
nested_acquire.c
nested_trust_common.h
nested_trust_failure.c
nested_trust_success.c
net_timestamping.c
netcnt_prog.c
netif_receive_skb.c
netns_cookie_prog.c
normal_map_btf.c
percpu_alloc_array.c selftests/bpf: Add cases to test BPF_F_CPU and BPF_F_ALL_CPUS flags 2026-01-06 20:48:32 -08:00
percpu_alloc_cgrp_local_storage.c
percpu_alloc_fail.c bpf: Support struct btf_struct_meta via KF_IMPLICIT_ARGS 2026-03-29 09:56:06 -07:00
perf_event_stackmap.c
perfbuf_bench.c
preempt_lock.c bpf: Consolidate sleepable checks in check_func_call() 2026-03-21 13:09:35 -07:00
preempted_bpf_ma_op.c
prepare.c
priv_freplace_prog.c
priv_map.c
priv_prog.c
pro_epilogue.c
pro_epilogue_goto_start.c
pro_epilogue_with_kfunc.c
profiler.h selftests/bpf: Adjust selftest due to function rename 2026-02-13 14:14:27 -08:00
profiler.inc.h selftests/bpf: Adjust selftest due to function rename 2026-02-13 14:14:27 -08:00
profiler1.c
profiler2.c
profiler3.c
pyperf.h
pyperf50.c
pyperf100.c
pyperf180.c
pyperf600.c
pyperf600_bpf_loop.c
pyperf600_iter.c
pyperf600_nounroll.c
pyperf_global.c
pyperf_subprogs.c
raw_tp_null.c
raw_tp_null_fail.c
rbtree.c
rbtree_btf_fail__add_wrong_type.c
rbtree_btf_fail__wrong_node_type.c
rbtree_fail.c selftests: bpf: Update failure message for rbtree_fail 2026-01-02 12:04:29 -08:00
rbtree_search.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
rbtree_search_kptr.c selftests/bpf: Add test case for rbtree nodes that contain both bpf_refcount and kptr fields. 2026-02-23 17:37:06 -08:00
rcu_read_lock.c bpf: adapt selftests to GCC 16 -Wunused-but-set-variable 2026-01-06 21:04:11 -08:00
rcu_tasks_trace_gp.c selftests/bpf: Fix map_kptr grace period wait 2026-02-13 14:14:27 -08:00
read_cgroupfs_xattr.c
read_vsyscall.c
recursion.c
recvmsg4_prog.c
recvmsg6_prog.c
recvmsg_unix_prog.c
refcounted_kptr.c selftests/bpf: Move sleepable refcounted_kptr tests to syscalls 2026-03-09 09:28:42 -07:00
refcounted_kptr_fail.c selftests/bpf: Move sleepable refcounted_kptr tests to syscalls 2026-03-09 09:28:42 -07:00
res_spin_lock.c
res_spin_lock_fail.c
ringbuf_bench.c selftests/bpf/benchs: Add overwrite mode benchmark for BPF ring buffer 2025-10-27 19:47:32 -07:00
security_bpf_map.c
sendmsg4_prog.c
sendmsg6_prog.c
sendmsg_unix_prog.c
set_global_vars.c
setget_sockopt.c
sk_bypass_prot_mem.c selftests/bpf: Add test for sk->sk_bypass_prot_mem. 2025-10-16 12:04:47 -07:00
sk_storage_omem_uncharge.c selftests/bpf: Update sk_storage_omem_uncharge test 2026-02-06 14:48:04 -08:00
skb_load_bytes.c
skb_pkt_end.c
sock_addr_kern.c
sock_destroy_prog.c
sock_destroy_prog_fail.c
sock_iter_batch.c
sock_ops_get_sk.c selftests/bpf: Add tests for sock_ops ctx access with same src/dst register 2026-04-12 12:28:05 -07:00
socket_cookie_prog.c
sockmap_parse_prog.c
sockmap_tcp_msg_prog.c
sockmap_verdict_prog.c
sockopt_inherit.c
sockopt_multi.c
sockopt_qos_to_cc.c
sockopt_sk.c
stacktrace_ips.c selftests/bpf: Add stacktrace ips test for fentry/fexit 2026-01-30 13:40:08 -08:00
stacktrace_map.c selftests/bpf: Add stacktrace map lookup_and_delete_elem test case 2025-09-25 16:17:30 -07:00
stacktrace_map_skip.c
stream.c selftests/bpf: Add selftests for stream functions under lock 2026-02-03 10:41:16 -08:00
stream_fail.c bpf: Migrate bpf_stream_vprintk() to KF_IMPLICIT_ARGS 2026-01-20 16:22:38 -08:00
string_kfuncs_failure1.c selftests/bpf: Test kfunc bpf_strncasecmp 2026-01-21 09:42:53 -08:00
string_kfuncs_failure2.c selftests/bpf: Test kfunc bpf_strncasecmp 2026-01-21 09:42:53 -08:00
string_kfuncs_success.c selftests/bpf: Test kfunc bpf_strncasecmp 2026-01-21 09:42:53 -08:00
strncmp_bench.c
strncmp_test.c
strobemeta.c
strobemeta.h selftests/bpf: Fix selftest verif_scale_strobemeta failure with llvm22 2025-10-18 19:25:03 -07:00
strobemeta_bpf_loop.c
strobemeta_nounroll1.c
strobemeta_nounroll2.c
strobemeta_subprogs.c
struct_ops_assoc.c selftests/bpf: Migrate struct_ops_assoc test to KF_IMPLICIT_ARGS 2026-01-20 16:22:38 -08:00
struct_ops_assoc_in_timer.c selftests/bpf: Migrate struct_ops_assoc test to KF_IMPLICIT_ARGS 2026-01-20 16:22:38 -08:00
struct_ops_assoc_reuse.c selftests/bpf: Migrate struct_ops_assoc test to KF_IMPLICIT_ARGS 2026-01-20 16:22:38 -08:00
struct_ops_autocreate.c
struct_ops_autocreate2.c
struct_ops_detach.c
struct_ops_forgotten_cb.c
struct_ops_id_ops_mapping1.c selftests/bpf: Test multi_st_ops and calling kfuncs from different programs 2025-08-06 16:01:58 -07:00
struct_ops_id_ops_mapping2.c selftests/bpf: Test multi_st_ops and calling kfuncs from different programs 2025-08-06 16:01:58 -07:00
struct_ops_kptr_return.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
struct_ops_kptr_return_fail__invalid_scalar.c
struct_ops_kptr_return_fail__local_kptr.c
struct_ops_kptr_return_fail__nonzero_offset.c
struct_ops_kptr_return_fail__wrong_type.c bpf: return PTR_TO_BTF_ID | PTR_TRUSTED from BPF kfuncs by default 2026-01-13 19:19:13 -08:00
struct_ops_maybe_null.c
struct_ops_maybe_null_fail.c
struct_ops_module.c
struct_ops_multi_args.c selftests/bpf: Add test for struct_ops __ref argument in any position 2026-03-24 08:51:23 -07:00
struct_ops_multi_pages.c
struct_ops_nulled_out_cb.c
struct_ops_private_stack.c selftests/bpf: Enable private stack tests for powerpc64 2026-04-03 14:09:43 +05:30
struct_ops_private_stack_fail.c selftests/bpf: Enable private stack tests for powerpc64 2026-04-03 14:09:43 +05:30
struct_ops_private_stack_recur.c selftests/bpf: Enable private stack tests for powerpc64 2026-04-03 14:09:43 +05:30
struct_ops_refcounted.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
struct_ops_refcounted_fail__global_subprog.c
struct_ops_refcounted_fail__ref_leak.c
struct_ops_refcounted_fail__tail_call.c
summarization.c
summarization_freplace.c
syscall.c
tailcall1.c
tailcall2.c
tailcall3.c selftests/bpf: Test accounting of tail calls when prog is NULL 2026-02-24 17:09:27 -08:00
tailcall4.c
tailcall5.c
tailcall6.c
tailcall_bpf2bpf1.c
tailcall_bpf2bpf2.c
tailcall_bpf2bpf3.c
tailcall_bpf2bpf4.c
tailcall_bpf2bpf6.c
tailcall_bpf2bpf_fentry.c
tailcall_bpf2bpf_fexit.c
tailcall_bpf2bpf_hierarchy1.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_bpf2bpf_hierarchy2.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_bpf2bpf_hierarchy3.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_bpf2bpf_hierarchy_fentry.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_fail.c
tailcall_freplace.c
tailcall_poke.c
tailcall_sleepable.c selftests/bpf: Add test for sleepable program tailcalls 2026-01-30 12:17:47 -08:00
task_kfunc_common.h
task_kfunc_failure.c
task_kfunc_success.c
task_local_data.bpf.h selftests/bpf: Fix tld_get_data() returning garbage data 2026-04-15 12:10:20 -07:00
task_local_storage.c
task_local_storage_exit_creds.c
task_ls_recursion.c selftests/bpf: Update task_local_storage/recursion test 2026-02-06 14:48:05 -08:00
task_ls_uptr.c
task_storage_nodeadlock.c selftests/bpf: Update task_local_storage/task_storage_nodeadlock test 2026-02-06 14:48:05 -08:00
task_work.c bpf: Migrate bpf_task_work_schedule_* kfuncs to KF_IMPLICIT_ARGS 2026-01-20 16:22:20 -08:00
task_work_fail.c bpf: Migrate bpf_task_work_schedule_* kfuncs to KF_IMPLICIT_ARGS 2026-01-20 16:22:20 -08:00
task_work_stress.c bpf: Migrate bpf_task_work_schedule_* kfuncs to KF_IMPLICIT_ARGS 2026-01-20 16:22:20 -08:00
tc_bpf2bpf.c
tc_dummy.c
tcp_ca_incompl_cong_ops.c
tcp_ca_kfunc.c tcp: add cwnd_event_tx_start to tcp_congestion_ops 2026-03-24 21:00:38 -07:00
tcp_ca_unsupp_cong_op.c
tcp_ca_update.c
tcp_ca_write_sk_pacing.c selftests/bpf: Move common TCP helpers into bpf_tracing_net.h 2025-11-18 14:57:45 -08:00
tcp_rtt.c
test_assign_reuse.c
test_attach_kprobe_sleepable.c
test_attach_probe.c
test_attach_probe_manual.c
test_autoattach.c
test_autoload.c
test_bpf_cookie.c
test_bpf_ma.c
test_bpf_nf.c selftests: bpf: Fix test_bpf_nf for trusted args becoming default 2026-01-02 12:04:29 -08:00
test_bpf_nf_fail.c selftests: bpf: Fix test_bpf_nf for trusted args becoming default 2026-01-02 12:04:29 -08:00
test_btf_decl_tag.c bpf: GCC requires function attributes before the declarator 2026-01-06 21:04:11 -08:00
test_btf_ext.c
test_btf_map_in_map.c
test_btf_newkv.c
test_btf_nokv.c
test_btf_skc_cls_ingress.c
test_build_id.c
test_cgroup1_hierarchy.c
test_cgroup_link.c
test_check_mtu.c selftests/bpf: Test bpf_skb_check_mtu(BPF_MTU_CHK_SEGS) when transport_header is not set 2025-11-14 18:49:18 -08:00
test_cls_redirect.c selftests/bpf: Move macros to bpf_misc.h 2025-09-17 16:15:37 +02:00
test_cls_redirect.h
test_cls_redirect_dynptr.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
test_cls_redirect_subprogs.c
test_core_autosize.c
test_core_extern.c
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
test_core_reloc_enumval.c
test_core_reloc_existence.c
test_core_reloc_flavors.c
test_core_reloc_ints.c
test_core_reloc_kernel.c
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
test_core_reloc_type_based.c
test_core_reloc_type_id.c
test_core_retro.c
test_ctx.c selftests/bpf: Add tests for execution context helpers 2026-01-25 08:20:50 -08:00
test_custom_sec_handlers.c
test_d_path.c selftests/bpf: add regression test for bpf_d_path() 2025-12-10 01:36:26 -08:00
test_d_path_check_rdonly_mem.c
test_d_path_check_types.c
test_deny_namespace.c
test_dst_clear.c selftests/bpf: Test that dst is cleared on same-protocol encap 2026-03-30 15:52:25 -07:00
test_enable_stats.c
test_endian.c
test_fill_link_info.c
test_fsverity.c
test_get_stack_rawtp.c
test_get_stack_rawtp_err.c
test_get_xattr.c
test_global_data.c
test_global_func1.c
test_global_func2.c
test_global_func3.c bpf: Only enforce 8 frame call stack limit for all-static stacks 2026-03-16 11:26:41 -07:00
test_global_func4.c
test_global_func5.c
test_global_func6.c
test_global_func7.c bpf: Allow void global functions in the verifier 2026-03-03 08:47:23 -08:00
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
test_global_func_args.c
test_global_func_ctx_args.c
test_global_func_deep_stack.c selftests/bpf: Add deep call stack selftests 2026-03-16 11:26:41 -07:00
test_global_map_resize.c
test_hash_large_key.c
test_helper_restricted.c
test_jhash.h
test_kernel_flag.c
test_kfunc_dynptr_param.c selftests: bpf: fix test_kfunc_dynptr_param 2026-01-02 12:04:29 -08:00
test_kfunc_param_nullable.c selftests: bpf: Update kfunc_param_nullable test for new error message 2026-01-02 12:04:29 -08:00
test_ksyms.c
test_ksyms_btf.c
test_ksyms_btf_null_check.c
test_ksyms_btf_write_check.c
test_ksyms_module.c
test_ksyms_weak.c
test_l4lb.c
test_l4lb_noinline.c
test_l4lb_noinline_dynptr.c
test_ldsx_insn.c
test_legacy_printk.c
test_libbpf_get_fd_by_id_opts.c
test_link_pinning.c
test_lirc_mode2_kern.c
test_log_buf.c
test_log_fixup.c
test_lookup_and_delete.c
test_lookup_key.c
test_lwt_ip_encap.c
test_lwt_redirect.c
test_lwt_reroute.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
test_map_ops.c
test_migrate_reuseport.c
test_misc_tcp_hdr_options.c
test_mmap.c
test_module_attach.c selftests/bpf: Split module_attach into subtests 2026-03-03 09:23:57 -08:00
test_netfilter_link_attach.c
test_ns_current_pid_tgid.c
test_obj_id.c
test_overhead.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
test_parse_tcp_hdr_opt.c
test_parse_tcp_hdr_opt_dynptr.c
test_pe_preserve_elems.c
test_perf_branches.c selftests/bpf: Improve reliability of test_perf_branches_no_hw() 2025-11-21 16:49:16 -08:00
test_perf_buffer.c
test_perf_link.c
test_perf_skip.c
test_pinning.c
test_pinning_devmap.c selftests/bpf: Add test for DEVMAP reuse 2025-08-15 16:52:52 -07:00
test_pinning_htab.c selftests/bpf: Add test for unpinning htab with internal timer struct 2025-10-10 10:10:08 -07:00
test_pinning_invalid.c
test_pkt_access.c
test_pkt_md_access.c
test_probe_read_user_str.c
test_probe_user.c selftests/bpf: filter by pid to avoid cross-test interference 2026-03-11 09:34:22 -07:00
test_prog_array_init.c
test_ptr_untrusted.c
test_queue_map.c
test_queue_stack_map.h
test_raw_tp_test_run.c
test_rdonly_maps.c
test_ringbuf.c
test_ringbuf_map_key.c
test_ringbuf_multi.c
test_ringbuf_n.c
test_ringbuf_overwrite.c selftests/bpf: Add overwrite mode test for BPF ring buffer 2025-10-27 19:46:32 -07:00
test_ringbuf_write.c
test_seg6_loop.c
test_select_reuseport_kern.c
test_send_signal_kern.c
test_set_remove_xattr.c
test_sig_in_xattr.c
test_siphash.h
test_sk_assign.c
test_sk_assign_libbpf.c
test_sk_lookup.c
test_sk_lookup_kern.c
test_sk_storage_trace_itself.c
test_sk_storage_tracing.c
test_skb_ctx.c
test_skb_helpers.c
test_skc_to_unix_sock.c
test_skeleton.c
test_skmsg_load_helpers.c
test_snprintf.c
test_snprintf_single.c
test_sock_fields.c
test_sockhash_kern.c
test_sockmap_change_tail.c
test_sockmap_drop_prog.c
test_sockmap_invalid_update.c
test_sockmap_kern.c
test_sockmap_kern.h
test_sockmap_ktls.c
test_sockmap_listen.c
test_sockmap_pass_prog.c selftests/bpf: Add tests for FIONREAD and copied_seq 2026-01-27 09:12:04 -08:00
test_sockmap_progs_query.c
test_sockmap_redir.c
test_sockmap_skb_verdict_attach.c
test_sockmap_strp.c
test_sockmap_update.c
test_spin_lock.c
test_spin_lock_fail.c
test_stack_map.c
test_stack_var_off.c
test_stacktrace_build_id.c
test_static_linked1.c
test_static_linked2.c
test_subprogs.c
test_subprogs_extable.c
test_subprogs_unused.c
test_subskeleton.c
test_subskeleton_lib.c
test_subskeleton_lib2.c
test_sysctl_loop1.c
test_sysctl_loop2.c
test_sysctl_prog.c
test_task_local_data.c selftests/bpf: Test basic task local data operations 2025-08-01 18:00:46 -07:00
test_task_pt_regs.c
test_task_under_cgroup.c
test_tc_bpf.c
test_tc_change_tail.c
test_tc_dtime.c
test_tc_edt.c selftests/bpf: do not hardcode target rate in test_tc_edt BPF program 2025-11-29 09:37:41 -08:00
test_tc_link.c
test_tc_neigh.c
test_tc_neigh_fib.c
test_tc_peer.c
test_tc_tunnel.c selftests/bpf: Support when CONFIG_VXLAN=m 2026-01-16 14:54:10 -08:00
test_tcp_custom_syncookie.c
test_tcp_custom_syncookie.h
test_tcp_estats.c
test_tcp_hdr_options.c selftests/bpf: Move macros to bpf_misc.h 2025-09-17 16:15:37 +02:00
test_tcpbpf_kern.c
test_tcpnotify_kern.c bpf/selftests: Fix test_tcpnotify_user 2025-08-15 13:05:29 -07:00
test_time_tai.c
test_tp_btf_nullable.c
test_trace_ext.c
test_trace_ext_tracing.c
test_tracepoint.c
test_trampoline_count.c selftests/bpf: move trampoline_count to dedicated bpf_testmod target 2026-03-24 13:39:32 -07:00
test_tunnel_kern.c
test_unpriv_bpf_disabled.c
test_uprobe.c selftests/bpf: Add uprobe context ip register change test 2025-09-24 02:25:06 -07:00
test_uprobe_autoattach.c
test_urandom_usdt.c
test_usdt.c selftests/bpf: Add test for checking correct nop of optimized usdt 2026-03-03 08:39:22 -08:00
test_usdt_multispec.c
test_user_ringbuf.h
test_varlen.c
test_verif_scale1.c
test_verif_scale2.c
test_verif_scale3.c
test_verify_pkcs7_sig.c
test_vmlinux.c
test_xdp.c
test_xdp_adjust_tail_grow.c
test_xdp_adjust_tail_shrink.c
test_xdp_attach_fail.c
test_xdp_bpf2bpf.c
test_xdp_context_test_run.c
test_xdp_devmap_helpers.c
test_xdp_devmap_tailcall.c selftests/bpf: Add test case for different expected_attach_type 2025-09-27 06:24:27 -07:00
test_xdp_do_redirect.c
test_xdp_dynptr.c
test_xdp_link.c
test_xdp_loop.c
test_xdp_meta.c selftests/bpf: Use vmlinux.h in test_xdp_meta 2026-02-18 14:58:47 -08:00
test_xdp_noinline.c
test_xdp_pull_data.c selftests/bpf: Test bpf_xdp_pull_data 2025-09-23 13:35:12 -07:00
test_xdp_update_frags.c
test_xdp_vlan.c
test_xdp_with_cpumap_frags_helpers.c
test_xdp_with_cpumap_helpers.c
test_xdp_with_devmap_frags_helpers.c
test_xdp_with_devmap_helpers.c
timer.c selftests/bpf: Add timer stress test in NMI context 2026-02-03 16:58:47 -08:00
timer_crash.c
timer_failure.c
timer_interrupt.c selftests/bpf: Add case to test bpf_in_interrupt() 2025-09-04 09:05:58 -07:00
timer_lockup.c
timer_mim.c
timer_mim_reject.c
timer_start_deadlock.c selftests/bpf: Fix timer_start_deadlock failure due to hrtimer change 2026-04-15 08:25:04 -07:00
timer_start_delete_race.c selftests/bpf: Add a test to stress bpf_timer_start and map_delete race 2026-02-03 16:58:47 -08:00
token_kallsyms.c selftests/bpf: verify kallsyms entries for token-loaded subprograms 2026-04-15 16:46:47 -07:00
token_lsm.c
trace_dummy_st_ops.c
trace_printk.c selftests/bpf: cover UTF-8 trace_printk output 2026-04-16 15:53:32 -07:00
trace_vprintk.c
tracing_failure.c selftests/bpf: Migrate fexit_noreturns case into tracing_failure test suite 2025-07-28 19:39:30 -07:00
tracing_struct.c selftests/bpf: Add union argument tests using fexit programs 2025-09-23 12:07:47 -07:00
tracing_struct_many_args.c
trigger_bench.c selftests/bpf: Add usdt trigger bench 2026-03-03 08:39:22 -08:00
twfw.c
type_cast.c
udp_limit.c
uninit_stack.c selftests/bpf: update existing tests due to liveness changes 2026-04-10 15:13:37 -07:00
unsupported_ops.c
update_map_in_htab.c
uprobe_multi.c
uprobe_multi_bench.c
uprobe_multi_consumers.c
uprobe_multi_pid_filter.c
uprobe_multi_session.c bpf: change prototype of bpf_session_{cookie,is_return} 2026-01-24 18:49:35 -08:00
uprobe_multi_session_cookie.c bpf: change prototype of bpf_session_{cookie,is_return} 2026-01-24 18:49:35 -08:00
uprobe_multi_session_recursive.c bpf: change prototype of bpf_session_{cookie,is_return} 2026-01-24 18:49:35 -08:00
uprobe_multi_session_single.c
uprobe_multi_usdt.c
uprobe_multi_verifier.c
uprobe_syscall.c selftests/bpf: Add uprobe_regs_equal test 2025-08-21 20:09:25 +02:00
uprobe_syscall_executed.c selftests/bpf: Add uprobe/usdt syscall tests 2025-08-21 20:09:24 +02:00
uptr_failure.c
uptr_map_failure.c
uptr_update_failure.c
uretprobe_stack.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
user_ringbuf_fail.c
user_ringbuf_success.c
verifier_align.c selftests/bpf: update existing tests due to liveness changes 2026-04-10 15:13:37 -07:00
verifier_and.c
verifier_arena.c selftests/bpf: Add tests for non-arena/arena operations 2026-04-12 12:48:11 -07:00
verifier_arena_globals1.c selftests/bpf: Fix verifier_arena_globals1 failure with 64K page 2026-01-13 09:32:16 -08:00
verifier_arena_globals2.c selftests/bpf: Add tests for the arena offset of globals 2025-12-16 10:42:55 -08:00
verifier_arena_large.c selftests/bpf: Fix verifier_arena_large/big_alloc3 test 2025-12-30 12:35:23 -08:00
verifier_array_access.c
verifier_async_cb_context.c bpf: Consolidate sleepable checks in check_helper_call() 2026-03-21 13:09:34 -07:00
verifier_basic_stack.c
verifier_bitfield_write.c
verifier_bits_iter.c
verifier_bounds.c selftests/bpf: Remove invariant violation flags 2026-04-02 18:23:25 -07:00
verifier_bounds_deduction.c
verifier_bounds_deduction_non_const.c
verifier_bounds_mix_sign_unsign.c
verifier_bpf_fastcall.c selftests/bpf: Enable timed may_goto tests for arm64 2025-08-27 17:16:22 -07:00
verifier_bpf_get_stack.c
verifier_bpf_trap.c
verifier_bswap.c selftests/bpf: Add test for BPF_END register ID reset 2026-03-10 11:46:31 -07:00
verifier_btf_ctx_access.c
verifier_btf_unreliable_prog.c
verifier_cfg.c
verifier_cgroup_inv_retcode.c
verifier_cgroup_skb.c
verifier_cgroup_storage.c
verifier_const.c
verifier_const_or.c
verifier_ctx.c selftests/bpf: Add tests for syscall ctx accesses beyond U16_MAX 2026-04-06 15:27:27 -07:00
verifier_ctx_ptr_param.c selftests/bpf: Add trampolines single and multi-level pointer params test coverage 2026-03-24 13:36:32 -07:00
verifier_ctx_sk_msg.c
verifier_d_path.c
verifier_default_trusted_ptr.c selftests/bpf: update verifier test for default trusted pointer semantics 2026-01-20 17:11:24 -08:00
verifier_direct_packet_access.c selftests/bpf: Add test for stale pkt range after scalar arithmetic 2026-04-09 13:11:31 -07:00
verifier_direct_stack_access_wraparound.c
verifier_div0.c
verifier_div_mod_bounds.c selftests/bpf: update existing tests due to liveness changes 2026-04-10 15:13:37 -07:00
verifier_div_overflow.c
verifier_global_ptr_args.c bpf: return PTR_TO_BTF_ID | PTR_TRUSTED from BPF kfuncs by default 2026-01-13 19:19:13 -08:00
verifier_global_subprogs.c selftests/bpf: Test modified syscall ctx for ARG_PTR_TO_CTX 2026-04-06 15:27:27 -07:00
verifier_gotol.c
verifier_gotox.c bpf-next-7.1 2026-04-14 18:04:04 -07:00
verifier_helper_access_var_len.c
verifier_helper_packet_access.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
verifier_helper_restricted.c selftests/bpf: Removed obsolete tests 2026-02-03 16:58:47 -08:00
verifier_helper_value_access.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
verifier_int_ptr.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
verifier_iterating_callbacks.c
verifier_jeq_infer_not_null.c selftests/bpf: tests to non_null ptr detection using register operand in JEQ/JNE 2026-03-10 11:51:18 -07:00
verifier_jit_convergence.c
verifier_jit_inline.c selftests/bpf: test the jited inline of bpf_get_current_task 2026-01-20 20:39:01 -08:00
verifier_kfunc_prog_types.c selftests: bpf: fix tests with raw_tp calling kfuncs 2025-12-22 22:23:38 -08:00
verifier_ld_ind.c selftests/bpf: Add tests for ld_{abs,ind} failure path in subprogs 2026-04-08 18:43:28 -07:00
verifier_ldsx.c selftests: bpf: Add tests for signed loads from arena 2025-09-23 12:00:23 -07:00
verifier_leak_ptr.c
verifier_linked_scalars.c selftests/bpf: Add test for add_const base_id consistency 2026-04-10 17:39:09 -07:00
verifier_live_stack.c selftests/bpf: arg tracking for imprecise/multi-offset BPF_ST/STX 2026-04-15 08:40:48 -07:00
verifier_liveness_exp.c selftests/bpf: add new tests for static stack liveness analysis 2026-04-10 15:13:38 -07:00
verifier_load_acquire.c
verifier_loops1.c bpf: Sort subprogs in topological order after check_cfg() 2026-04-03 08:34:30 -07:00
verifier_lsm.c selftests/bpf: add test case for BPF LSM hook bpf_lsm_mmap_file 2025-12-21 10:56:33 -08:00
verifier_lwt.c
verifier_map_in_map.c
verifier_map_ptr.c bpf: Return hashes of maps in BPF_OBJ_GET_INFO_BY_FD 2025-09-18 19:11:42 -07:00
verifier_map_ptr_mixing.c
verifier_map_ret_val.c
verifier_masking.c
verifier_may_goto_1.c selftests/bpf: Enable timed may_goto tests for arm64 2025-08-27 17:16:22 -07:00
verifier_may_goto_2.c
verifier_meta_access.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
verifier_movsx.c
verifier_mtu.c
verifier_mul.c bpf: Add selftest to check the verifier's abstract multiplication 2025-08-27 15:00:31 -07:00
verifier_netfilter_ctx.c selftests/bpf: remove unnecessary kfunc prototypes 2025-10-27 09:56:26 -07:00
verifier_netfilter_retcode.c
verifier_or_jmp32_k.c
verifier_precision.c selftests/bpf: Enable CAN_USE_LOAD_ACQ_STORE_REL for LoongArch 2026-04-23 12:49:46 +08:00
verifier_prevent_map_lookup.c
verifier_private_stack.c bpf, arm64: Use ORR-based MOV for general-purpose registers 2026-03-03 08:43:10 -08:00
verifier_raw_stack.c
verifier_raw_tp_writable.c
verifier_ref_tracking.c
verifier_reg_equal.c
verifier_regalloc.c
verifier_ringbuf.c
verifier_runtime_jit.c
verifier_scalar_ids.c selftests/bpf: update existing tests due to liveness changes 2026-04-10 15:13:37 -07:00
verifier_sdiv.c selftests/bpf: Add tests for sdiv32/smod32 with INT_MIN dividend 2026-03-21 13:12:17 -07:00
verifier_search_pruning.c
verifier_sock.c bpf: test the proper verification of tail calls 2025-11-21 17:45:30 -08:00
verifier_sock_addr.c
verifier_sockmap_mutate.c
verifier_spill_fill.c bpf: poison dead stack slots 2026-04-10 15:13:38 -07:00
verifier_spin_lock.c
verifier_stack_ptr.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
verifier_store_release.c
verifier_subprog_precision.c selftests/bpf: update existing tests due to liveness changes 2026-04-10 15:13:37 -07:00
verifier_subprog_topo.c selftests/bpf: Add tests for subprog topological ordering 2026-04-03 08:34:33 -07:00
verifier_subreg.c selftests/bpf: Add few tests for alu32 shift value tracking and zext 2026-03-29 09:57:39 -07:00
verifier_tailcall.c
verifier_tailcall_jit.c
verifier_typedef.c
verifier_uninit.c
verifier_unpriv.c bpf: Add bpf_compute_const_regs() and bpf_prune_dead_branches() passes 2026-04-03 08:34:36 -07:00
verifier_unpriv_perf.c
verifier_value.c
verifier_value_adj_spill.c
verifier_value_illegal_alu.c bpf: Add range tracking for BPF_DIV and BPF_MOD 2026-01-20 16:41:53 -08:00
verifier_value_or_null.c
verifier_value_ptr_arith.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
verifier_var_off.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
verifier_vfs_accept.c bpf: Finish constification of 1st parameter of bpf_d_path() 2025-10-04 09:05:23 -07:00
verifier_vfs_reject.c
verifier_xadd.c
verifier_xdp.c selftests/bpf: Test access from RO map from xdp_store_bytes 2026-01-31 13:49:43 -08:00
verifier_xdp_direct_packet_access.c bpf: use reg->var_off instead of reg->off for pointers 2026-02-13 14:41:22 -08:00
vrf_socket_lookup.c
wq.c selftests/bpf: Add more bpf_wq tests 2025-10-10 11:12:51 -07:00
wq_failures.c bpf: Migrate bpf_wq_set_callback_impl() to KF_IMPLICIT_ARGS 2026-01-20 16:15:57 -08:00
xdp_dummy.c
xdp_features.c
xdp_flowtable.c
xdp_hw_metadata.c
xdp_metadata.c
xdp_metadata2.c
xdp_redirect_map.c
xdp_redirect_multi_kern.c
xdp_synproxy_kern.c
xdp_tx.c
xdping_kern.c
xdpwall.c
xfrm_info.c
xsk_xdp_progs.c selftests: bpf: have a separate variable for drop test 2026-04-06 18:43:52 -07:00