..
.gitignore
arena_atomics.c
selftests/bpf: Add selftests for load-acquire and store-release instructions
2025-03-15 11:48:29 -07:00
arena_direct_value.c
selftests/bpf: Add arena direct-value one-past-end reject test
2026-06-12 22:43:33 -07:00
arena_htab.c
selftests/bpf: Remove hard coded PAGE_SIZE macro.
2024-03-15 14:24:03 -07:00
arena_list.c
selftests: bpf: test non-sleepable arena allocations
2025-12-23 11:30:00 -08:00
arena_spin_lock.c
selftests/bpf: Move arena-related headers into libarena
2026-04-26 18:12:22 -07:00
arena_strsearch.c
selftests/bpf: Convert glob_match() to bpf arena
2025-11-14 13:57:28 -08:00
arg_parsing.c
selftests: arg_parsing: Ensure data is flushed to disk before reading.
2025-10-16 09:34:39 -07:00
assign_reuse.c
selftests/bpf: Test that SO_REUSEPORT can be used with sk_assign helper
2023-07-25 14:02:47 -07:00
async_stack_depth.c
selftests/bpf: Add selftest for check_stack_max_depth bug
2023-07-05 19:14:54 -07:00
atomic_bounds.c
atomics.c
selftests/bpf: Enable signature verification for some lskel tests
2025-09-22 19:17:55 -07:00
attach_probe.c
selftests/bpf: Add tests for kprobe attachment with duplicate symbols
2026-04-07 16:28:12 -07:00
autoattach.c
selftests/bpf: Tests libbpf autoattach APIs
2022-08-17 09:42:07 -07:00
autoload.c
bad_struct_ops.c
selftests/bpf: Verify struct_ops autoload/autocreate sync
2024-03-06 15:18:15 -08:00
bind_perm.c
selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bind_perm
2023-11-21 10:43:03 -08:00
bloom_filter_map.c
selftests/bpf: Fix build error due to certain uninitialized variables
2025-07-15 14:38:58 -07:00
bpf_attr_size.c
selftests/bpf: Add tests to verify checking padding bytes for bpf_[map,prog]_info
2026-06-05 15:21:24 -07:00
bpf_cookie.c
selftests/bpf: Provide weak definitions for cross-test functions
2026-06-05 14:20:58 -07:00
bpf_gotox.c
selftests/bpf: Add more tests for loading insn arrays with offsets
2026-04-06 18:38:32 -07:00
bpf_insn_array.c
bpf-next-7.1
2026-04-14 18:04:04 -07:00
bpf_iter_setsockopt_unix.c
bpf_iter_setsockopt.c
selftests/bpf: Fix error compiling bpf_iter_setsockopt.c with musl libc
2024-07-29 15:05:07 -07:00
bpf_iter.c
selftests/bpf: Replace strncpy() with strscpy()
2026-02-24 08:19:33 -08:00
bpf_loop.c
selftests/bpf: BPF test_prog selftests for bpf_loop inlining
2022-06-20 17:40:52 -07:00
bpf_mod_race.c
selftests/bpf: Fix bpf_mod_race test failure with arm64 64KB page size
2025-06-06 19:21:43 -07:00
bpf_nf.c
selftests/bpf: Cover small conntrack opts error writes
2026-06-22 16:04:34 -07:00
bpf_obj_id.c
selftests/bpf: Replaces the usage of CHECK calls for ASSERTs in bpf_obj_id
2023-11-21 10:45:24 -08:00
bpf_obj_pinning.c
selftests/bpf: Fix flaky cgroup_iter_sleepable subtest
2023-08-30 08:45:05 +02:00
bpf_qdisc.c
selftests/bpf: Test using slice after invalidating dynptr clone
2026-06-01 18:31:42 -07:00
bpf_tcp_ca.c
selftests/bpf: Verify bpf-tcp-cc rejects TCP_NODELAY
2026-04-22 12:59:49 -07:00
bpf_verif_scale.c
selftests/bpf: Remove unused struct 'scale_test_def'
2024-06-03 16:52:42 +02:00
bpftool_maps_access.c
selftests/bpf: convert test_bpftool_map_access.sh into test_progs framework
2026-01-26 18:47:31 -08:00
bpftool_metadata.c
selftests/bpf: convert test_bpftool_metadata.sh into test_progs framework
2026-01-26 18:47:31 -08:00
btf_dedup_split.c
selftests/bpf: Ensure typedef are deduplicated in split BTF
2026-04-22 14:18:41 -07:00
btf_distill.c
selftests/bpf: Add distilled BTF test about marking BTF_IS_EMBEDDED
2025-01-16 15:34:18 -08:00
btf_dump.c
selftests/bpf: Make btf_dump use xdp_dummy rather than xdping_kern
2026-04-24 11:07:57 -07:00
btf_endian.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
btf_field_iter.c
selftests/bpf: Add btf_field_iter selftests
2024-06-06 15:56:30 +02:00
btf_kind.c
selftests/bpf: Test kind encoding/decoding
2026-03-26 13:53:57 -07:00
btf_map_in_map.c
selftests/bpf: Fix flaky test btf_map_in_map/lookup_update
2024-03-25 17:25:54 +01:00
btf_module.c
btf_permute.c
selftests/bpf: Add test cases for btf__permute functionality
2026-01-13 16:10:39 -08:00
btf_sanitize.c
selftests/bpf: Add BTF sanitize test covering BTF layout
2026-04-10 12:34:36 -07:00
btf_skc_cls_ingress.c
selftests/bpf: test MSS value returned with bpf_tcp_gen_syncookie
2024-10-21 13:18:51 -07:00
btf_split.c
selftests/bpf: Test parsing of (multi-)split BTF
2025-11-04 13:44:12 -08:00
btf_sysfs.c
selftests: bpf: Add a test for mmapable vmlinux BTF
2025-05-23 10:06:28 -07:00
btf_tag.c
selftests/bpf: Add a test for btf_type_tag "percpu"
2022-03-05 18:39:51 -08:00
btf_write.c
selftests/bpf: Add test for btf__add_btf() with split BTF sources
2026-03-05 15:03:04 -08:00
btf.c
bpf: Allow type tag BTF records to succeed other modifier records
2026-06-21 17:59:44 -07:00
build_id.c
selftests/bpf: add build ID tests
2024-09-11 09:58:31 -07:00
cb_refs.c
bpf: Unify release handling for helpers and kfuncs
2026-06-01 18:31:41 -07:00
cg_storage_multi.c
selftests/bpf: fix some typos in selftests
2024-09-05 13:07:47 -07:00
cgroup_ancestor.c
selftests/bpf: Fix error compiling cgroup_ancestor.c with musl libc
2024-10-09 18:29:07 -07:00
cgroup_attach_autodetach.c
selftests/bpf: Clean up array_size.cocci warnings
2022-03-15 17:03:10 +01:00
cgroup_attach_multi.c
selftests/bpf: Clean up array_size.cocci warnings
2022-03-15 17:03:10 +01:00
cgroup_attach_override.c
selftests/bpf: Clean up array_size.cocci warnings
2022-03-15 17:03:10 +01:00
cgroup_dev.c
selftests/bpf: add wrong type test to cgroup dev
2024-07-31 10:00:20 -07:00
cgroup_get_current_cgroup_id.c
selftests/bpf: convert get_current_cgroup_id_user to test_progs
2024-08-14 18:10:46 -07:00
cgroup_getset_retval.c
selftests/bpf: Correctly handle optlen > 4096
2023-05-13 16:55:46 -07:00
cgroup_hierarchical_stats.c
selftests/bpf: Simplify cgroup_hierarchical_stats selftest
2022-09-23 13:59:08 -07:00
cgroup_iter_memcg.c
selftests/bpf: Use memfd_create instead of shm_open in cgroup_iter_memcg
2026-04-12 23:46:32 +02:00
cgroup_iter.c
selftests/bpf: cover BPF_CGROUP_ITER_CHILDREN control option
2026-01-27 09:06:03 -08:00
cgroup_link.c
selftests/bpf: Adapt cgroup effective query uapi change
2022-09-21 10:57:13 -07:00
cgroup_mprog_opts.c
selftests/bpf: Add two selftests for mprog API based cgroup progs
2025-06-09 16:28:31 -07:00
cgroup_mprog_ordering.c
selftests/bpf: Fix cgroup_mprog_ordering failure due to uninitialized variable
2025-06-11 12:32:50 -07:00
cgroup_preorder.c
selftests/bpf: Test cgroup link replace with BPF_F_PREORDER
2026-06-21 18:10:04 -07:00
cgroup_skb_direct_packet_access.c
selftests/bpf: add cgroup skb direct packet access test
2024-12-02 08:41:17 -08:00
cgroup_skb_sk_lookup.c
cgroup_storage.c
Merge patch series "bpf: Fix OOB in pcpu_init_value and add a test"
2026-04-12 13:36:55 -07:00
cgroup_tcp_skb.c
selftests/bpf: remove duplicated functions
2023-08-08 17:01:19 -07:00
cgroup_v1v2.c
selftests/bpf: Allow auto port binding for cgroup connect
2025-03-15 11:48:24 -07:00
cgroup_xattr.c
selftests/bpf: More open-coded gettid syscall cleanup
2025-09-15 20:39:24 +02:00
cgroup1_hierarchy.c
selftests/bpf: Run cgroup1_hierarchy test in own mount namespace
2024-04-29 16:14:11 -07:00
cgrp_kfunc.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_local_storage.c
selftests/bpf: Trace bpf_local_storage_update to debug flaky local storage tests
2026-04-19 13:52:50 +02:00
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
clone_attach_btf_id.c
selftests/bpf: Test bpf_program__clone() attach_btf_id override
2026-03-21 13:17:14 -07:00
cls_redirect.c
selftests/bpf: Use sockaddr_storage directly in cls_redirect test
2025-11-21 10:46:01 -08:00
compute_live_registers.c
selftests/bpf: test cases for compute_live_registers()
2025-03-15 11:48:30 -07:00
connect_force_port.c
selftests/bpf: Improve connect_force_port test reliability
2026-03-23 11:37:34 -07:00
connect_ping.c
selftests/bpf: Fix compiler warnings reported in -O2 mode
2023-10-06 20:17:28 +02:00
core_autosize.c
selftests/bpf: Convert some selftests to high-level BPF map APIs
2022-05-13 15:15:21 +02:00
core_extern.c
selftests/bpf: add test of __weak unknown virtual __kconfig extern
2022-07-19 09:33:18 -07:00
core_kern_overflow.c
core_kern.c
core_read_macros.c
core_reloc_raw.c
selftests/bpf: test for malformed BPF_CORE_TYPE_ID_LOCAL relocation
2024-08-22 08:00:26 -07:00
core_reloc.c
selftests/bpf: add test for LDX/STX/ST relocations over array field
2025-02-14 19:58:14 -08:00
core_retro.c
selftests/bpf: Convert some selftests to high-level BPF map APIs
2022-05-13 15:15:21 +02:00
cpu_mask.c
cpumask.c
selftests: bpf: fix duplicate selftests in cpumask_success.
2025-03-15 11:48:58 -07:00
crypto_sanity.c
selftests/bpf: Fix errors compiling crypto_sanity.c with musl libc
2024-07-29 15:05:08 -07:00
ctx_rewrite.c
bpf: Introduce bpf register BPF_REG_PARAMS
2026-04-23 07:54:50 -07:00
custom_sec_handlers.c
selftests/bpf: Add custom SEC() handling selftest
2022-03-05 09:38:15 -08:00
d_path.c
selftests/bpf: add regression test for bpf_d_path()
2025-12-10 01:36:26 -08:00
decap_sanity.c
selftests/bpf: Fix errors compiling decap_sanity.c with musl libc
2024-07-29 15:05:08 -07:00
deny_namespace.c
selftests/bpf: Add tests verifying bpf lsm userns_create hook
2022-08-16 17:39:59 -04:00
dmabuf_iter.c
selftests/bpf: Fix dmabuf_iter/lots_of_buffers failure with 64K page
2026-01-13 09:32:16 -08:00
dummy_st_ops.c
selftests/bpf: dummy_st_ops should reject 0 for non-nullable params
2024-04-25 12:42:43 -07:00
dynptr.c
selftests/bpf: Fix resource leaks caused by missing cleanups
2026-02-24 08:19:49 -08:00
empty_skb.c
selftests/bpf: cover short IPv4/IPv6 inputs with adjust_room
2026-04-12 15:42:57 -07:00
enable_stats.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
endian.c
exceptions.c
selftests/bpf: Add exception tests with stack arguments
2026-05-17 13:53:24 -07:00
exe_ctx.c
selftests/bpf: Add tests for execution context helpers
2026-01-25 08:20:50 -08:00
exhandler.c
fd_array.c
selftests/bpf: Fix cleanup in check_fd_array_cnt__fd_array_too_big()
2026-02-24 08:19:49 -08:00
fd_htab_lookup.c
selftests/bpf: Add test case for atomic update of fd htab
2025-04-09 20:12:54 -07:00
fentry_fexit.c
selftests/bpf: Enable signature verification for some lskel tests
2025-09-22 19:17:55 -07:00
fentry_test.c
selftests/bpf: Enable signature verification for some lskel tests
2025-09-22 19:17:55 -07:00
fexit_bpf2bpf.c
selftests/bpf: Fix const qualifier warning in fexit_bpf2bpf.c
2026-03-11 10:54:40 -07:00
fexit_sleep.c
selftests/bpf: fexit_sleep: Fix stack allocation for arm64
2024-07-17 19:22:44 +02:00
fexit_stress.c
selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
2024-09-04 12:58:46 -07:00
fexit_test.c
selftests/bpf: Enable signature verification for some lskel tests
2025-09-22 19:17:55 -07:00
fib_lookup.c
selftests/bpf: Add BPF_FIB_LOOKUP_MARK tests
2024-03-28 18:30:53 -07:00
file_reader.c
selftests/bpf: Page out as late as possible in file_reader
2026-04-22 23:07:01 +02:00
fill_link_info.c
selftests/bpf: Fix typo in verify_umulti_link_info
2026-06-14 17:24:26 -07:00
find_vma.c
selftests/bpf: Fix bpf_cookie and find_vma in nested VM
2024-06-04 11:17:54 -07:00
flow_dissector_classification.c
selftests/bpf: Add a specific dst port matching
2025-02-19 18:54:59 -08:00
flow_dissector_load_bytes.c
bpf, test_run: Propagate bpf_flow_dissect's retval to user's bpf_attr.test.retval
2022-08-23 22:48:03 +02:00
flow_dissector_reattach.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
flow_dissector.c
selftests/bpf: Replace strncpy() with strscpy()
2026-02-24 08:19:33 -08:00
for_each.c
selftests/bpf: add test for softlock when modifying hashmap while iterating
2025-04-25 08:36:59 -07:00
free_timer.c
selftests/bpf: Skip timer cases when bpf_timer is not supported
2025-09-10 12:34:09 -07:00
fs_kfuncs.c
selftests/bpf: Test kfuncs that set and remove xattr from BPF programs
2025-02-13 19:35:32 -08:00
fsession_test.c
bpf: Add bpf_jit_supports_fsession()
2026-01-31 13:51:04 -08:00
get_branch_snapshot.c
selftests/bpf: Use PERF_COUNT_HW_CPU_CYCLES event for get_branch_snapshot
2023-04-07 15:24:43 -07: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_test.c
selftests/bpf: factor out get_func_* tests for fsession
2026-03-03 08:36:26 -08:00
get_stack_raw_tp.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
get_stackid_cannot_attach.c
selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach
2023-04-13 14:32:05 +02:00
global_data_init.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
global_data.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
global_func_args.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
global_func_dead_code.c
selftests/bpf: validate eliminated global subprog is not freplaceable
2023-12-11 19:16:32 -08:00
global_map_resize.c
selftests/bpf: extend existing map resize tests for per-cpu use case
2023-07-12 07:57:18 -07:00
hash_large_key.c
hashmap.c
libbpf: Hashmap interface update to allow both long and void* keys/values
2022-11-09 20:45:14 -08:00
helper_restricted.c
selftests/bpf: Use non-autoloaded programs in few tests
2022-04-19 13:48:20 -07:00
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
bpf: Cancel special fields on map value recycle
2026-06-09 21:23:11 -07:00
inner_array_lookup.c
selftests/bpf: Add access_inner_map selftest
2023-06-02 17:04:22 -07:00
ip_check_defrag.c
selftests/bpf: Drop noconnect from network_helper_opts
2024-06-20 20:42:44 -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
selftests/bpf: Provide weak definitions for cross-test functions
2026-06-05 14:20:58 -07:00
jeq_infer_not_null.c
selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
2022-12-22 17:19:23 -08:00
jit_probe_mem.c
selftests/bpf: Add verifier test exercising jit PROBE_MEM logic
2022-12-22 00:53:58 +01:00
kernel_flag.c
selftests/bpf: More open-coded gettid syscall cleanup
2025-09-15 20:39:24 +02:00
kfree_skb.c
selftests/bpf: Fix compiling kfree_skb.c with musl-libc
2024-07-29 15:05:08 -07:00
kfunc_call.c
bpf: Prepare verifier logs for upcoming kfunc stack arguments
2026-04-23 07:54:50 -07:00
kfunc_dynptr_param.c
bpf: Reject NULL data/sig in bpf_verify_pkcs7_signature
2026-05-20 05:12:05 +02:00
kfunc_implicit_args_tracing.c
selftests/bpf: Cover tracing implicit kfunc args
2026-07-16 16:11:29 -07:00
kfunc_implicit_args.c
selftests/bpf: Add tests for KF_IMPLICIT_ARGS
2026-01-20 16:15:57 -08:00
kfunc_module_order.c
selftests/bpf: Add test for kfunc module order
2024-10-10 10:44:03 -07:00
kfunc_param_nullable.c
selftests: bpf: add testmod kfunc for nullable params
2024-06-13 16:33:04 -07:00
kmem_cache_iter.c
selftests/bpf: Fix out-of-bounds array access bugs reported by ASAN
2026-02-24 08:19:49 -08:00
kprobe_multi_test.c
selftests/bpf: Add test to ensure kprobe_multi is not sleepable
2026-04-08 18:15:56 -07:00
kprobe_multi_testmod_test.c
selftests/bpf: trace_helpers.c: Optimize kallsyms cache
2023-09-08 16:22:41 -07:00
kptr_xchg_inline.c
selftests/bpf: Enable inline bpf_kptr_xchg() test for RV64
2024-02-01 11:35:48 +01:00
ksyms_btf.c
selftests/bpf: Test passing rdonly mem to global func
2022-04-06 10:32:12 -07:00
ksyms_module.c
ksyms.c
selftests/bpf: Replace CHECK with ASSERT macros for ksyms test
2024-03-28 18:31:41 -07:00
l4lb_all.c
selftests/bpf: tests for using dynptrs to parse skb and xdp buffers
2023-03-01 10:05:19 -08:00
legacy_printk.c
libarena_asan.c
selftests/bpf: Reuse stderr parsing for libarena ASAN tests
2026-04-26 18:12:22 -07:00
libarena.c
selftests/bpf: libarena: parallel test harness and spmc parallel selftest
2026-06-05 20:32:21 -07:00
libbpf_get_fd_by_id_opts.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
libbpf_probes.c
bpf: Add BPF token support to BPF_PROG_LOAD command
2024-01-24 16:21:01 -08:00
libbpf_str.c
bpf: Add BPF token support to BPF_PROG_LOAD command
2024-01-24 16:21:01 -08:00
link_pinning.c
linked_funcs.c
selftests/bpf: Clean up open-coded gettid syscall invocations
2024-11-04 11:37:36 -08:00
linked_list.c
bpf: Cancel special fields on map value recycle
2026-06-09 21:23:11 -07:00
linked_maps.c
linked_vars.c
livepatch_trampoline.c
selftests/bpf: Skip livepatch test when prerequisites are missing
2026-03-11 09:36:37 -07:00
load_bytes_relative.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +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
log_buf.c
selftests/bpf: Fix RELEASE build failure with gcc14
2025-06-17 10:18:30 -07:00
log_fixup.c
bpf: emit source code file name and line number in verifier log
2024-02-13 18:51:32 -08:00
lookup_and_delete.c
selftests/bpf: Convert some selftests to high-level BPF map APIs
2022-05-13 15:15:21 +02:00
lookup_key.c
selftests/bpf: Add additional tests for bpf_lookup_*_key()
2022-09-21 17:33:42 -07:00
lru_bug.c
selftests/bpf: Add test for prealloc_lru_pop bug
2022-08-09 18:46:11 -07:00
lru_lock_nmi.c
selftests/bpf: Stress LRU rqspinlock recovery paths
2026-06-07 18:46:13 -07:00
lsm_bdev.c
selftests/bpf: add block device management selftests
2026-03-27 09:05:13 -07:00
lsm_cgroup.c
selftests/bpf: Add retval test for bool and errno LSM cgroup hooks
2026-06-12 20:33:16 -07:00
lwt_helpers.h
selftests/bpf: Move open_tuntap to network helpers
2025-03-06 12:31:08 -08:00
lwt_ip_encap.c
selftests/bpf: Add tests to verify the fix of encapsulating VxLAN in lwt
2026-06-05 15:28:29 -07: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
lwt_redirect.c
selftests/bpf: Fix errors compiling lwt_redirect.c with musl libc
2024-07-29 15:05:08 -07:00
lwt_reroute.c
selftests/bpf: Fix redefinition errors compiling lwt_reroute.c
2024-07-30 13:45:45 -07:00
lwt_seg6local.c
selftests/bpf: Fix out-of-bounds array access bugs reported by ASAN
2026-02-24 08:19:49 -08:00
map_btf.c
selftests/bpf: Test the release of map btf
2023-12-18 18:15:49 +01:00
map_excl.c
selftests/bpf: Cover exclusive map create-time validation
2026-06-04 09:44:42 -07:00
map_in_map.c
selftests/bpf: Test the update operations for htab of maps
2024-11-11 08:18:39 -08:00
map_init.c
selftests/bpf: Add test to verify checking padding bytes for BPF syscall common attributes
2026-05-18 18:51:32 -07:00
map_kptr_race.c
selftests/bpf: Add tests for special fields races
2026-02-27 15:39:00 -08:00
map_kptr.c
selftests/bpf: Exercise kptr map update lifetime
2026-06-09 21:23:11 -07:00
map_lock.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
map_lookup_percpu_elem.c
selftests/bpf: Fix some bugs in map_lookup_percpu_elem testcase
2022-05-20 15:07:41 -07:00
map_ops.c
bpf/selftests: coverage for bpf_map_ops errors
2023-03-22 15:11:06 -07:00
map_ptr.c
mem_rdonly_untrusted.c
selftests/bpf: check operations on untrusted ro pointers to mem
2025-06-25 15:13:16 -07:00
metadata.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
migrate_reuseport.c
selftests/bpf: check epoll readiness during reuseport migration
2026-04-23 11:54:44 -07:00
missed.c
selftests/bpf: Add kprobe session recursion check test
2025-01-08 09:39:58 -08:00
mmap.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
modify_return.c
selftests/bpf: Isolate fmod_ret hooks by pid
2026-03-18 17:16:06 -07:00
module_attach.c
selftests/bpf: Speed up module_attach test
2026-03-11 09:29:09 -07:00
module_fentry_shadow.c
selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
2024-09-04 12:58:46 -07:00
mptcp.c
selftests/bpf: Add mptcp test with sockmap
2025-11-13 13:18:25 -08:00
nested_trust.c
selftests/bpf: Add test for zero offset or non-zero offset pointers as KF_ACQUIRE kfuncs argument
2024-08-28 17:11:54 -07:00
net_timestamping.c
selftests/bpf: Add simple bpf tests in the tx path for timestamping feature
2025-02-20 14:30:07 -08:00
netcnt.c
selftests/bpf: improve netcnt test robustness
2023-05-16 20:57:16 -07:00
netfilter_link_attach.c
selftests/bpf: Add asserts for netfilter link info
2024-10-16 17:04:38 +02:00
netns_cookie.c
selftests/bpf: add cgroup_skb netns cookie tests
2025-02-26 07:35:51 -08:00
ns_current_pid_tgid.c
selftests/bpf: ns_current_pid_tgid: Use test_progs's ns_ feature
2025-02-19 09:46:02 -08:00
obj_name.c
selftests/bpf: Clean up array_size.cocci warnings
2022-03-15 17:03:10 +01:00
parse_tcp_hdr_opt.c
selftests/bpf: Fix compiling parse_tcp_hdr_opt.c with musl-libc
2024-07-29 15:05:07 -07:00
pe_preserve_elems.c
percpu_alloc.c
selftests/bpf: Harden cpu flags test for lru_percpu_hash map
2026-01-26 10:59:07 -08:00
percpu_array_inner_map.c
bpf: Use array_map_meta_equal for percpu array inner map replacement
2026-05-14 08:18:50 -07:00
perf_branches.c
selftests/bpf: Improve reliability of test_perf_branches_no_hw()
2025-11-21 16:49:16 -08:00
perf_buffer.c
perf_event_stackmap.c
selftests/bpf: Use read_perf_max_sample_freq() in perf_event_stackmap
2023-04-13 14:32:04 +02:00
perf_link.c
selftests/bpf: Avoid spurious failures perf_link
2026-03-18 17:08:54 -07:00
perf_skip.c
selftest/bpf: Test a perf BPF program that suppresses side effects
2024-04-12 11:49:51 +02:00
pinning_devmap_reuse.c
selftests/bpf: Add test for DEVMAP reuse
2025-08-15 16:52:52 -07:00
pinning_htab.c
selftests/bpf: Add test for unpinning htab with internal timer struct
2025-10-10 10:10:08 -07:00
pinning.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
pkt_access.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
pkt_md_access.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
preempt_lock.c
selftests/bpf: Add tests for preempt kfuncs
2024-04-24 09:47:49 -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
prepare.c
selftests/bpf: Add tests for bpf_object__prepare
2025-03-15 11:48:28 -07:00
pro_epilogue.c
selftests/bpf: Test gen_pro/epilogue that generate kfuncs
2025-02-25 19:04:43 -08:00
probe_read_user_str.c
probe_user.c
selftests/bpf: drop serial restriction
2026-03-11 09:34:22 -07:00
prog_array_init.c
prog_run_opts.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
prog_tests_framework.c
selftests/bpf: __not_msg() tag for test_loader framework
2025-09-19 09:27:23 -07:00
ptr_untrusted.c
selftests/bpf: Add selftest for PTR_UNTRUSTED
2023-07-13 16:24:29 -07:00
queue_stack_map.c
selftests/bpf: Replace strncpy() with strscpy()
2026-02-24 08:19:33 -08:00
raw_tp_null.c
selftests/bpf: Add tests for raw_tp NULL args
2024-12-13 16:24:53 -08:00
raw_tp_test_run.c
raw_tp_writable_reject_bad_access.c
selftests/bpf: Cover negative buffer pointer offsets
2026-07-15 02:33:18 -07:00
raw_tp_writable_test_run.c
selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
2024-09-04 12:58:46 -07:00
rbtree.c
selftests/bpf: Add supplementary tests for bpf_kptr_xchg
2026-02-23 17:37:06 -08:00
rcu_read_lock.c
selftests: bpf: Add tests for unbalanced rcu_read_lock
2025-11-21 18:34:59 -08:00
rdonly_maps.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
read_vsyscall.c
selftests/bpf: Add tests for bpf_copy_from_user_task_str
2025-02-19 17:01:36 -08:00
recursion.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
recursive_attach.c
selftests/bpf: Stress test attaching a BPF prog to another BPF prog
2025-07-16 18:32:31 -07:00
refcounted_kptr.c
bpf: Cancel special fields on map value recycle
2026-06-09 21:23:11 -07:00
reference_tracking.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
reg_bounds.c
bpf: replace min/max fields with struct cnum{32,64}
2026-04-24 18:14:18 -07:00
res_spin_lock.c
selftests/bpf: Add ABBCCA case for rqspinlock stress test
2025-10-29 18:17:56 -07:00
resolve_btfids.c
resolve_btfids: Change in-place update with raw binary output
2025-12-19 10:55:40 -08:00
rhash.c
selftests/bpf: Add BPF iterator tests for resizable hash map
2026-06-05 08:00:08 -07:00
ringbuf_multi.c
selftests/bpf: Add tests for ring_buffer__ring
2023-09-25 16:22:42 -07:00
ringbuf.c
selftests/bpf: Add overwrite mode test for BPF ring buffer
2025-10-27 19:46:32 -07:00
section_names.c
selftests/bpf: Add tests for cgroup unix socket address hooks
2023-10-11 17:27:55 -07:00
select_reuseport.c
selftests/bpf: Use sockaddr_storage instead of sa46 in select_reuseport test
2025-11-21 10:46:31 -08:00
send_signal_sched_switch.c
send_signal.c
selftests/bpf: Fix failure paths in send_signal test
2025-11-14 17:02:25 -08:00
setget_sockopt.c
selftests/bpf: Add test to verify the fix for bpf_setsockopt() helper
2026-06-14 17:38:55 -07:00
sha256.c
selftests/bpf: Add test for libbpf_sha256()
2025-10-01 16:00:25 -07:00
signal_pending.c
signed_loader.c
selftests/bpf: Inspect the signature verdict exposed to BPF LSM
2026-06-05 20:33:48 -07:00
sk_assign.c
selftests/bpf: Close the file descriptor to avoid resource leaks
2025-04-22 14:29:58 -07:00
sk_bypass_prot_mem.c
selftests/bpf: Fix sk_bypass_prot_mem failure with 64K page
2026-01-13 09:32:16 -08:00
sk_lookup.c
selftests/bpf: Drop unneeded error.h includes
2024-07-29 15:05:07 -07:00
sk_storage_omem_uncharge.c
selftests/bpf: Check bpf_sk_storage has uncharged sk_omem_alloc
2023-09-06 11:08:47 +02:00
sk_storage_tracing.c
skb_ctx.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
skb_helpers.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
skb_load_bytes.c
selftests/bpf: Add test for skb_load_bytes
2022-04-20 23:48:34 +02:00
skc_to_unix_sock.c
selftests/bpf: Replace strncpy() with strscpy()
2026-02-24 08:19:33 -08:00
skeleton.c
libbpf: add non-mmapable data section selftest
2022-10-19 16:40:45 -07:00
sleepable_tracepoints.c
selftests/bpf: Add tests for sleepable tracepoint programs
2026-04-22 22:44:30 +02:00
snprintf_btf.c
snprintf.c
bpf: allow UTF-8 literals in bpf_bprintf_prepare()
2026-04-16 15:53:32 -07:00
sock_addr.c
selftests/bpf: Move ENOTSUPP from bpf_util.h
2024-11-11 08:18:35 -08:00
sock_create.c
selftests/bpf: Migrate BPF_CGROUP_INET_SOCK_CREATE test cases to prog_tests
2024-10-22 13:41:42 -07:00
sock_destroy.c
selftests/bpf: Remove "&>" usage in the selftests
2024-01-29 12:48:32 -08:00
sock_fields.c
selftests/bpf: Fix rare segfault in sock_fields prog test
2022-06-23 10:52:12 -07:00
sock_iter_batch.c
selftests/bpf: Add tests for bucket resume logic in established sockets
2025-07-14 15:12:54 -07:00
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
sock_post_bind.c
selftests/bpf: Migrate *_POST_BIND test cases to prog_tests
2024-10-22 13:41:38 -07:00
socket_cookie.c
socket_helpers.h
selftests/bpf: replace "__auto_type" with "auto"
2025-12-08 15:32:15 -08:00
sockmap_basic.c
selftests/bpf: Test FIONREAD on a sockmap socket without a verdict program
2026-07-15 11:10:14 +02:00
sockmap_helpers.h
selftests/bpf: Add u32()/u64() to sockmap_helpers
2025-05-22 14:26:58 -07:00
sockmap_ktls.c
selftests/bpf: test that TLS crypto is rejected on a sockmap socket
2026-06-16 08:55:41 -07:00
sockmap_listen.c
selftests/bpf: Adapt sockmap update error handling
2026-07-15 10:34:14 +02:00
sockmap_redir.c
selftests/bpf: Add selftest for sockmap/hashmap redirection
2025-05-22 14:26:58 -07:00
sockmap_strp.c
selftests/bpf: test rejection of a packet-modifying SK_SKB stream parser
2026-06-25 17:42:02 -07:00
sockopt_inherit.c
selftests/bpf: Drop struct post_socket_opts
2024-05-28 17:53:03 -07:00
sockopt_multi.c
selftests/bpf: Correctly handle optlen > 4096
2023-05-13 16:55:46 -07:00
sockopt_qos_to_cc.c
selftests/bpf: Correctly handle optlen > 4096
2023-05-13 16:55:46 -07:00
sockopt_sk.c
selftest: bpf: Add test for bpf_tcp_sock() and RAW socket.
2026-05-08 11:38:08 -07:00
sockopt.c
selftests/bpf: Add sockopt case to verify prog_type
2024-04-30 10:43:37 -07:00
spin_lock.c
bpf: Refactor object relationship tracking and fix dynptr UAF bug
2026-06-01 18:31:41 -07:00
stack_arg_fail.c
selftests/bpf: Add tests for stack argument validation
2026-05-13 09:27:32 -07:00
stack_arg_precision.c
selftests/bpf: Add precision backtracking test for stack arguments
2026-05-13 09:27:32 -07:00
stack_arg.c
selftests/bpf: Use at least 10 args in stack argument tests
2026-05-31 17:49:21 -07:00
stack_var_off.c
stacktrace_build_id_nmi.c
selftests/bpf: Fix typos and grammar in test sources
2025-08-27 15:13:08 -07:00
stacktrace_build_id.c
selftests/bpf: Fix typos and grammar in test sources
2025-08-27 15:13:08 -07:00
stacktrace_ips.c
selftests/bpf: Add stacktrace ips test for fentry/fexit
2026-01-30 13:40:08 -08:00
stacktrace_map_raw_tp.c
selftests/bpf: Refactor stacktrace_map case with skeleton
2025-09-25 16:17:14 -07:00
stacktrace_map_skip.c
selftests/bpf: Fix typos and grammar in test sources
2025-08-27 15:13:08 -07:00
stacktrace_map.c
selftests/bpf: Add stacktrace map lookup_and_delete_elem test case
2025-09-25 16:17:30 -07:00
static_linked.c
stream.c
selftests/bpf: Add tests for arena fault reporting
2025-09-11 13:00:44 -07:00
string_kfuncs.c
selftests/bpf: Test kfunc bpf_strncasecmp
2026-01-21 09:42:53 -08:00
struct_ops_autocreate.c
selftests/bpf: Test case for SEC("?.struct_ops")
2024-03-06 15:18:16 -08:00
struct_ops_private_stack.c
selftests/bpf: Enable private stack tests for powerpc64
2026-04-03 14:09:43 +05:30
subprogs_extable.c
selftests/bpf: add a test for subprogram extables
2023-06-13 15:13:52 -07:00
subprogs.c
selftests/bpf: Test subprog jit when toggle bpf_jit_harden repeatedly
2022-03-16 15:13:36 -07:00
subskeleton.c
selftests/bpf: validate generic bpf_object and subskel APIs work together
2024-10-23 22:15:09 -07:00
summarization.c
bpf: Consolidate sleepable checks in check_helper_call()
2026-03-21 13:09:34 -07:00
syscall.c
selftests/bpf: Test outer map update operations in syscall program
2023-12-04 17:50:27 -08:00
tailcalls.c
selftests/bpf: Cover tail-call cgroup storage prog-array checks
2026-06-10 16:16:46 -07:00
task_fd_query_rawtp.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
task_fd_query_tp.c
selftests/bpf: use canonical ftrace path
2023-03-13 21:51:30 -07:00
task_kfunc.c
bpf: Reject bpf_obj_drop() from tracing progs
2026-06-09 21:23:11 -07:00
task_local_data.h
selftests/bpf: Fix tld_get_data() returning garbage data
2026-04-15 12:10:20 -07:00
task_local_storage.c
selftests/bpf: Trace bpf_local_storage_update to debug flaky local storage tests
2026-04-19 13:52:50 +02:00
task_pt_regs.c
selftests/bpf: Few fixes for selftests/bpf built in release mode
2022-08-17 22:43:58 +02:00
task_under_cgroup.c
selftests/bpf: Add selftest for bpf_task_under_cgroup() in sleepable prog
2023-10-17 18:31:27 +02:00
task_work_stress.c
selftests/bpf: add bpf task work stress tests
2025-09-23 07:34:39 -07:00
tc_bpf.c
selftests/bpf: Add selftest for allow_ptr_leaks
2023-08-23 09:37:29 -07:00
tc_change_tail.c
selftests/bpf: Test bpf_skb_change_tail() in TC ingress
2024-12-20 23:13:31 +01:00
tc_helpers.h
selftests/bpf: Move some tc_helpers.h functions to test_progs.h
2025-06-09 16:28:30 -07:00
tc_links.c
selftests/bpf: tc_links/tc_opts: Unserialize tests
2025-02-19 09:46:02 -08:00
tc_netkit.c
selftests/bpf: Extend netkit tests to validate set {head,tail}room
2025-01-06 09:48:58 +01:00
tc_opts.c
selftests/bpf: Fix resource leaks caused by missing cleanups
2026-02-24 08:19:49 -08:00
tc_qevent.c
selftests/bpf: Add test for redirect from qdisc qevent block
2026-07-20 18:16:43 -07:00
tc_redirect.c
selftests/bpf: Replace strncpy() with strscpy()
2026-02-24 08:19:33 -08:00
tcp_custom_syncookie.c
selftest: bpf: Test bpf_sk_assign_tcp_reqsk().
2024-01-23 14:40:24 -08:00
tcp_estats.c
selftests/bpf: Convert tcp_estats test to ASSERT_* macros
2022-09-28 17:33:59 -07:00
tcp_hdr_options.c
selftests/bpf: Test TCP_NODELAY in TCP hdr opt callbacks
2026-04-22 12:59:49 -07:00
tcp_rtt.c
selftests/bpf: Fix compiling tcp_rtt.c with musl-libc
2024-07-29 15:05:08 -07:00
tcpbpf_user.c
selftests/bpf: Convert tcpbpf_user test to ASSERT_* macros
2022-09-28 17:34:14 -07:00
test_bpf_ma.c
selftests/bpf: Cope with 512 bytes limit with bpf_global_percpu_ma
2024-01-03 21:08:26 -08:00
test_bpf_smc.c
selftests/bpf: Handle !CONFIG_SMC in bpf_smc.c
2026-03-10 17:40:15 -07:00
test_bpf_syscall_macro.c
selftests/bpf: Enable test_bpf_syscall_macro: Syscall_arg1 on s390 and arm64
2024-09-04 17:06:09 -07:00
test_bpffs.c
selftests/bpf: fix test_bpffs
2023-11-01 22:31:41 -07:00
test_bprm_opts.c
selftests/bpf: fix some typos in selftests
2024-09-05 13:07:47 -07:00
test_btf_ext.c
selftests/bpf: Add BTF.ext line/func info getter tests
2025-04-09 16:16:56 -07:00
test_csum_diff.c
selftests/bpf: Add a selftest for bpf_csum_diff()
2024-10-30 15:29:59 +01:00
test_dst_clear.c
selftests/bpf: Test that dst is cleared on same-protocol encap
2026-03-30 15:52:25 -07:00
test_global_funcs.c
selftests/bpf: Add deep call stack selftests
2026-03-16 11:26:41 -07:00
test_ima.c
selftests/bpf: Fix IMA test
2023-03-08 11:15:39 -08:00
test_ldsx_insn.c
selftests/bpf: Test ldsx with more complex cases
2023-07-27 18:54:17 -07:00
test_local_storage.c
selftests/bpf: Test task storage when local_storage->smap is NULL
2023-03-25 19:52:52 -07:00
test_lsm.c
selftests/bpf: Provide weak definitions for cross-test functions
2026-06-05 14:20:58 -07:00
test_mmap_inner_array.c
selftests/bpf: Add a test for mmap-able map in map
2024-07-29 15:05:04 -07:00
test_overhead.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
test_profiler.c
test_skb_pkt_end.c
selftests/bpf: Validate CHECKSUM_COMPLETE option
2024-06-13 14:29:53 +02:00
test_strncmp.c
selftests/bpf: fix some typos in selftests
2024-09-05 13:07:47 -07:00
test_struct_ops_assoc.c
selftests/bpf: Test getting associated struct_ops in timer callback
2025-12-05 16:17:58 -08:00
test_struct_ops_id_ops_mapping.c
selftests/bpf: Test multi_st_ops and calling kfuncs from different programs
2025-08-06 16:01:58 -07:00
test_struct_ops_kptr_return.c
selftests/bpf: Test returning referenced kptr from struct_ops programs
2025-02-17 18:47:27 -08:00
test_struct_ops_maybe_null.c
selftests/bpf: Test PTR_MAYBE_NULL arguments of struct_ops operators.
2024-02-13 15:16:44 -08:00
test_struct_ops_module.c
selftests/bpf: Ensure the unsupported struct_ops prog cannot be loaded
2024-07-29 13:09:10 -07:00
test_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
test_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
test_struct_ops_no_cfi.c
selftests/bpf: Test case for lacking CFI stub functions.
2024-02-22 12:26:41 -08:00
test_struct_ops_refcounted.c
selftests/bpf: Test struct_ops program with __ref arg calling bpf_tail_call
2025-02-20 18:44:35 -08:00
test_sysctl.c
selftests/bpf: Free bpf_object in test_sysctl
2026-02-24 08:19:49 -08:00
test_task_local_data.c
selftests/bpf: Test small task local data allocation
2026-04-15 12:10:20 -07:00
test_task_work.c
selftests/bpf: Task_work selftest cleanup fixes
2025-09-25 11:00:01 -07:00
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_tunnel.c
selftests/bpf: remove unused toggle in tc_tunnel
2026-04-05 18:45:48 -07:00
test_tunnel.c
selftests/bpf: Add tc helpers
2025-10-29 11:07:24 -07:00
test_veristat.c
selftests/bpf: Replace strcpy() calls with strscpy()
2026-02-23 18:40:07 -08:00
test_xdp_veth.c
selftests/bpf: Cover generic devmap egress last-dst rewrite
2026-06-12 18:21:01 -07:00
test_xsk.c
selftests/xsk: account reclaimed invalid Tx descriptors
2026-07-24 15:12:15 -07:00
test_xsk.h
selftests/xsk: fix timeout thread harness sequencing
2026-06-23 13:40:44 -07:00
time_tai.c
selftests/bpf: Relax time_tai test for equal timestamps in tai_forward
2023-12-12 15:53:34 -08:00
timer_crash.c
selftests/bpf: Skip timer cases when bpf_timer is not supported
2025-09-10 12:34:09 -07:00
timer_lockup.c
selftests/bpf: Skip timer cases when bpf_timer is not supported
2025-09-10 12:34:09 -07:00
timer_mim.c
selftests/bpf: Skip timer cases when bpf_timer is not supported
2025-09-10 12:34:09 -07:00
timer_start_deadlock.c
selftests/bpf: Add a testcase for deadlock avoidance
2026-02-04 13:12:50 -08: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
timer.c
selftests/bpf: Add timer stress test in NMI context
2026-02-03 16:58:47 -08:00
token.c
selftests/bpf: verify kallsyms entries for token-loaded subprograms
2026-04-15 16:46:47 -07:00
tp_attach_query.c
selftests/bpf: use canonical ftrace path
2023-03-13 21:51:30 -07:00
tp_btf_nullable.c
selftests/bpf: Add test for __nullable suffix in tp_btf
2024-09-11 08:56:42 -07:00
trace_ext.c
trace_printk.c
selftests/bpf: cover UTF-8 trace_printk output
2026-04-16 15:53:32 -07:00
trace_vprintk.c
selftests/bpf: Add read_trace_pipe_iter function
2024-04-12 18:25:21 +02:00
tracing_failure.c
bpf: add fsession support
2026-01-24 18:49:35 -08:00
tracing_multi.c
selftests/bpf: Add tracing multi attach rollback tests
2026-06-07 11:03:05 -07:00
tracing_struct.c
selftests/bpf: Add union argument tests using fexit programs
2025-09-23 12:07:47 -07:00
trampoline_count.c
selftests/bpf: move trampoline_count to dedicated bpf_testmod target
2026-03-24 13:39:32 -07:00
type_cast.c
bpf: Add type cast unit tests
2022-11-20 15:45:48 -08:00
udp_limit.c
selftests/bpf: Convert udp_limit test to ASSERT_* macros
2022-09-28 17:34:19 -07:00
uninit_stack.c
selftests/bpf: Tests for uninitialized stack reads
2023-02-22 12:34:50 -08:00
unpriv_bpf_disabled.c
selftests/bpf: verify kallsyms entries for token-loaded subprograms
2026-04-15 16:46:47 -07:00
uprobe_autoattach.c
selftests/bpf: add bpf_for_each(), bpf_for(), and bpf_repeat() macros
2023-03-08 16:19:51 -08:00
uprobe_multi_test.c
selftests/bpf: Add uprobe_multi path_fd fail tests
2026-06-14 17:24:26 -07:00
uprobe_syscall.c
selftests/bpf: Fix open-coded gettid syscall in uprobe syscall tests
2025-10-01 13:37:29 -07:00
uprobe.c
selftests/bpf: Add uprobe context ip register change test
2025-09-24 02:25:06 -07:00
uretprobe_stack.c
selftests/bpf: add test validating uprobe/uretprobe stack traces
2024-06-25 10:15:38 +09:00
usdt.c
selftests/bpf: Add test for checking correct nop of optimized usdt
2026-03-03 08:39:22 -08:00
user_ringbuf.c
selftests/bpf: Fix a user_ringbuf failure with arm64 64KB page size
2025-06-06 19:21:43 -07:00
varlen.c
selftests: bpf: Add a test when bpf_probe_read_kernel_str() returns EFAULT
2022-11-11 11:44:46 -08:00
verif_stats.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08: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_log.c
selftests/bpf: Initialize operation name before use
2026-06-14 17:32:53 -07:00
verifier.c
selftests/bpf: Cover negative buffer pointer offsets
2026-07-15 02:33:18 -07:00
verify_pkcs7_sig.c
selftests/bpf: verify_pkcs7_sig: Use 'struct module_signature' from the UAPI headers
2026-03-24 21:42:37 +00:00
vmlinux.c
selftests/bpf: Use both hrtimer enqueue helpers in vmlinux test
2026-05-11 15:59:39 -07:00
vrf_socket_lookup.c
selftests/bpf: Add vrf_socket_lookup tests
2023-06-21 23:48:51 +02:00
wakeup_source.c
selftests/bpf: Add tests for wakeup_sources kfuncs
2026-05-14 16:04:54 -07:00
wq.c
selftests/bpf: Fix resource leak in serial_test_wq on attach failure
2026-01-21 16:12:10 -08:00
xdp_adjust_frags.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
xdp_adjust_tail.c
bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4K
2025-06-12 19:07:51 -07:00
xdp_attach.c
selftests/bpf: Add testcase for xdp attaching failure tracepoint
2023-08-02 14:21:12 -07:00
xdp_bonding.c
selftests/bpf: add test for xdp_master_redirect with bond not up
2026-04-14 10:39:24 +02:00
xdp_bpf2bpf.c
xdp_context_test_run.c
selftests/bpf: Add LWT encap tests for skb metadata
2026-06-23 19:07:23 -07:00
xdp_cpumap_attach.c
selftests/bpf: add tests for attaching invalid fd
2025-12-09 23:53:27 -08:00
xdp_dev_bound_only.c
selftests/bpf: Offloaded prog after non-offloaded should not cause BUG
2023-09-11 23:18:11 -07:00
xdp_devmap_attach.c
selftests/bpf: Add test case for different expected_attach_type
2025-09-27 06:24:27 -07:00
xdp_do_redirect.c
selftests/bpf: Fix xdp_do_redirect failure with 64KB page size
2025-06-12 19:07:51 -07:00
xdp_flowtable.c
selftests/bpf: Fix a memory leak in xdp_flowtable test
2026-02-26 11:27:08 -08:00
xdp_info.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
xdp_link.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
2023-02-16 15:32:46 -08:00
xdp_metadata.c
selftests/bpf: Fix use-after-free in xdp_metadata test
2026-02-24 08:19:49 -08:00
xdp_noinline.c
xdp_perf.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
xdp_pull_data.c
selftests/bpf: Fix xdp_pull_data failure with 64K page
2026-01-24 16:51:22 -08:00
xdp_synproxy.c
selftests/bpf: move SYS() macro into the test_progs.h
2023-02-24 17:34:09 -08:00
xdp_vlan.c
selftests/bpf: Migrate test_xdp_vlan.sh into test_progs
2025-03-19 16:01:33 -07:00
xdp.c
selftests/bpf: Store BPF object files with .bpf.o extension
2022-09-02 15:55:37 +02:00
xdpwall.c
selftests/bpf: Update LLVM Phabricator links
2024-01-23 14:40:22 -08:00
xfrm_info.c
selftests/bpf: move SYS() macro into the test_progs.h
2023-02-24 17:34:09 -08:00
xsk.c
selftests: bpf: introduce a common routine for reading procfs
2026-04-06 18:43:51 -07:00