Sign in
Join now
kernel
tjh.dev
/
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
(I'm so sorry!) Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
+3 more
kernel
os
linux
Star
Starred
Star
Something went wrong. Try again.
Fork
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
kernel
/
tools
/
testing
/
selftests
/
bpf
/
progs
1124 files
at
master
Linus Torvalds
·
Merge tag 'bpf-next-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
·
2w ago
55fbedce
access_map_in_map.c
aggregate_arg_func.c
bpf: Check subprog scalar arguments in the common path
1mo ago
aggregate_arg_kfunc.c
selftests/bpf: Test by-value __int128 kfunc arguments at an odd slot
3w ago
aggregate_ret_func.c
selftests/bpf: Test global functions returning arena pointers by value
2mo ago
aggregate_ret_kfunc_arena.c
selftests/bpf: Test kfuncs returning arena pointers by value
2mo ago
aggregate_ret_kfunc.c
selftests/bpf: Check the member named for an unsupported kfunc return type
2mo ago
aggregate_ret_target.c
selftests/bpf: Add inline-asm and subprog tests for R0: R2 returns
2mo ago
arena_atomics.c
selftests/bpf: Test fetching AND/OR/XOR atomics in arena
3w ago
arena_htab_asm.c
arena_htab.c
arena_kfunc_jit.c
selftests/bpf: Add arm64 JIT-sequence tests for __arena kfunc arguments
2mo ago
arena_kfunc.c
selftests/bpf: Test an arena kfunc argument passed from a subprogram
3w ago
arena_list.c
selftests: bpf: test non-sleepable arena allocations
10mo ago
arena_mem_usage.c
selftests/bpf: Add tests for memory usage for arena
3mo ago
arena_memcg.c
selftests/bpf: Add a test for arena fault-in under memory.max
1mo ago
arena_noarena.c
selftests/bpf: Move the no-arena tests out of objects with an arena map
3w ago
arena_race.c
selftests/bpf: Add arena allocation race tests
3w ago
arena_spin_lock.c
selftests/bpf: Remove duplicate copies of the arena spinlock qnodes
2mo ago
arena_strsearch.c
selftests/bpf: Convert glob_match() to bpf arena
11mo ago
async_stack_depth.c
selftests/bpf: Give the 512-byte stack boundary tests a 2 KiB twin
1mo ago
atomic_bounds.c
atomics.c
bad_struct_ops.c
bad_struct_ops2.c
bench_bpf_timing.bpf.h
selftests/bpf: Add BPF batch-timing library
6mo ago
bench_local_storage_create.c
selftests/bpf: Remove kmalloc tracing from local storage create bench
7mo ago
bench_sockmap_prog.c
bind_perm.c
bind_prog.h
bind4_prog.c
bind6_prog.c
bloom_filter_bench.c
bloom_filter_map.c
bpf_cc_cubic.c
tcp: add cwnd_event_tx_start to tcp_congestion_ops
7mo ago
bpf_compiler.h
bpf_cubic.c
selftests/bpf: Verify bpf-tcp-cc rejects TCP_NODELAY
6mo ago
bpf_dctcp_release.c
bpf_dctcp.c
selftests/bpf: Move common TCP helpers into bpf_tracing_net.h
11mo ago
bpf_flow.c
bpf_for_bench.c
selftests/bpf: Add bpf_for() benchmark
3mo ago
bpf_gotox.c
selftests/bpf: Add more tests for loading insn arrays with offsets
7mo ago
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_rhash_map.c
selftests/bpf: Add BPF iterator tests for resizable hash map
5mo ago
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
selftests/bpf: Replace %pK output with 0
1mo ago
bpf_iter_setsockopt_unix.c
bpf_iter_setsockopt.c
selftests/bpf: Replace TCP CC string comparisons with bpf_strncmp
11mo ago
bpf_iter_sockmap.c
bpf_iter_task_btf.c
bpf_iter_task_file.c
bpf_iter_task_stack.c
bpf_iter_task_vmas.c
selftests/bpf: Fix bpf_iter/task_vma test
5mo ago
bpf_iter_tasks.c
bpf_iter_tcp4.c
selftests/bpf: Replace %pK output with 0
1mo ago
bpf_iter_tcp6.c
selftests/bpf: Replace %pK output with 0
1mo ago
bpf_iter_test_kern_common.h
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_udp4.c
selftests/bpf: Replace %pK output with 0
1mo ago
bpf_iter_udp6.c
selftests/bpf: Replace %pK output with 0
1mo ago
bpf_iter_unix.c
selftests/bpf: Bound UNIX socket path loops by sun_path size
1mo ago
bpf_iter_vma_offset.c
bpf_loop_bench.c
bpf_loop.c
bpf_ma_ttrace.c
selftests/bpf: Add a test for objects stuck in free_by_rcu_ttrace
1mo ago
bpf_misc.h
selftests/bpf: __msg_next tag for matching messages on consecutive lines
1mo ago
bpf_mod_race.c
bpf_nop_bench.c
selftests/bpf: Add bpf-nop benchmark for timing overhead baseline
6mo ago
bpf_qdisc_common.h
bpf_qdisc_dynptr_use_after_invalidate_clone.c
selftests/bpf: Test using slice after invalidating dynptr clone
5mo ago
bpf_qdisc_fail__incompl_ops.c
bpf_qdisc_fail__invalid_dynptr_cross_frame.c
selftests/bpf: Test using dynptr after freeing the underlying object
5mo ago
bpf_qdisc_fail__invalid_dynptr_returned_slice.c
selftests/bpf: Test dynptr teardown on subprog return
1mo ago
bpf_qdisc_fail__invalid_dynptr_slice.c
selftests/bpf: Test using dynptr after freeing the underlying object
5mo ago
bpf_qdisc_fail__invalid_dynptr.c
selftests/bpf: Test using dynptr after freeing the underlying object
5mo ago
bpf_qdisc_fail__untrusted_write.c
selftests/bpf: Add tests for a store on a fault prone qdisc pointer
2mo ago
bpf_qdisc_fifo.c
bpf_qdisc_fq.c
bpf: replace pop/push emptiness check with bpf_list_empty()
5mo ago
bpf_smc.c
selftests/bpf: Handle !CONFIG_SMC in bpf_smc.c
8mo ago
bpf_syscall_macro.c
bpf_tcp_nogpl.c
bpf_tcp_ops_hdr.c
selftest: bpf: Use bpf_tcp_ops_set_flags() in bpf_tcp_ops_hdr.c.
1mo ago
bpf_tcp_ops.c
selftests/bpf: Test attaching struct_ops to a cgroup
1mo ago
bpf_test_utils.h
bpf_tracing_net.h
selftest: bpf: Add test for bpf_tcp_ops.{enqueue,dequeue}_rcvq().
1mo ago
bpftool_ringbuf.c
selftests/bpf: Cover bpftool ring buffer event_pipe
1mo ago
bprm_opts.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_arrays.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_bitfields.c
btf__core_reloc_enum64val___diff.c
btf__core_reloc_enum64val___err_missing.c
btf__core_reloc_enum64val___val3_missing.c
btf__core_reloc_enum64val.c
btf__core_reloc_enumval___diff.c
btf__core_reloc_enumval___err_missing.c
btf__core_reloc_enumval___val3_missing.c
btf__core_reloc_enumval.c
btf__core_reloc_existence___minimal.c
btf__core_reloc_existence___wrong_field_defs.c
btf__core_reloc_existence.c
btf__core_reloc_flavors__err_wrong_name.c
btf__core_reloc_flavors.c
btf__core_reloc_ints___bool.c
btf__core_reloc_ints___reverse_sign.c
btf__core_reloc_ints.c
btf__core_reloc_misc.c
btf__core_reloc_mods___mod_swap.c
btf__core_reloc_mods___typedefs.c
btf__core_reloc_mods.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_nesting.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_primitives.c
btf__core_reloc_ptr_as_arr___diff_sz.c
btf__core_reloc_ptr_as_arr.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_size.c
btf__core_reloc_type_based___all_missing.c
btf__core_reloc_type_based___diff_sz.c
btf__core_reloc_type_based___diff.c
btf__core_reloc_type_based___fn_wrong_args.c
btf__core_reloc_type_based___incompat.c
btf__core_reloc_type_based.c
btf__core_reloc_type_id___missing_targets.c
btf__core_reloc_type_id.c
btf__stack_arg_precision.c
selftests/bpf: Enable stack argument tests for RV64
2mo ago
btf__verifier_stack_arg_order.c
selftests/bpf: Enable stack argument tests for RV64
2mo ago
btf_data.c
selftests/bpf: Test resolve_btfids arena argument suffixes
3mo ago
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_module_allowlist.c
selftests/bpf: Add tests for selective module BTF loading
1mo ago
btf_ptr.h
btf_type_tag_percpu.c
btf_type_tag_user.c
btf_type_tag.c
call_rcu_fail.c
selftests/bpf: Add tests for bpf_call_rcu()
1mo ago
call_rcu.c
selftests/bpf: Add a test for bpf_call_rcu_tasks_trace()
1mo ago
callx_rodata.c
selftests/bpf: Fix build of callx tests with GCC
1mo ago
cb_refs.c
selftests/bpf: Refactor cb_refs selftests
1mo ago
cg_storage_multi_egress_only.c
cg_storage_multi_isolated.c
cg_storage_multi_shared.c
cg_storage_multi.h
cgroup_ancestor.c
cgroup_getset_retval_getsockopt.c
cgroup_getset_retval_hooks.c
cgroup_getset_retval_hooks.h
selftests/bpf: Drop stale lines, restore two header dependencies
1mo ago
cgroup_getset_retval_setsockopt.c
cgroup_hierarchical_stats.c
selftests: bpf: fix cgroup_hierarchical_stats
10mo ago
cgroup_iter_memcg.c
selftests/bpf: Use bpf_core_enum_value for stats in cgroup_iter_memcg
8mo ago
cgroup_iter.c
cgroup_mprog.c
cgroup_preorder.c
cgroup_read_xattr.c
cgroup_skb_direct_packet_access.c
cgroup_skb_sk_lookup_kern.c
cgroup_storage.c
selftests/bpf: Add test for cgroup storage OOB read
7mo ago
cgroup_tcp_skb.c
cgrp_kfunc_common.h
cgrp_kfunc_failure.c
bpf: Check helper and kfunc arguments in one path
2mo ago
cgrp_kfunc_success.c
cgrp_ls_attach_cgroup.c
cgrp_ls_negative.c
cgrp_ls_recursion.c
cgrp_ls_sleepable.c
selftests/bpf: Trace bpf_local_storage_update to debug flaky local storage tests
6mo ago
cgrp_ls_tp_btf.c
clone_attach_btf_id.c
selftests/bpf: Test bpf_program__clone() attach_btf_id override
7mo ago
compute_live_registers.c
selftests/bpf: Enable gotox liveness test for riscv64
1mo ago
connect_force_port4.c
selftests/bpf: Improve connect_force_port test reliability
7mo ago
connect_force_port6.c
selftests/bpf: Improve connect_force_port test reliability
7mo ago
connect_ping.c
connect_unix_prog.c
connect4_dropper.c
connect4_prog.c
selftests/bpf: Replace TCP CC string comparisons with bpf_strncmp
11mo ago
connect6_prog.c
copy_from_user_bprm.c
selftests/bpf: Test mm_struct user memory kfuncs with linux_binprm
1mo ago
core_kern_overflow.c
core_kern.c
core_reloc_types.h
cpumask_common.h
selftests/bpf: Test bpf_cpumask_populate() rejects a borrowed cpumask
4mo ago
cpumask_failure.c
bpf: Consolidate release argument validation
2mo ago
cpumask_success.c
selftests/bpf: Run the cpumask map insert tests only for the test task
3w ago
crypto_basic.c
crypto_bench.c
selftests/bpf: Work around llvm stack overflow in crypto progs
4mo ago
crypto_common.h
crypto_sanity.c
selftests/bpf: Work around llvm stack overflow in crypto progs
4mo ago
csum_diff_test.c
data_in_arena_decl.c
selftests/bpf: Add test for global data in arena
1mo ago
data_in_arena_extern.c
selftests/bpf: Add test for global data in arena
1mo ago
data_in_arena_fail.c
selftests/bpf: Add test for global data in arena
1mo ago
data_in_arena_nomap.c
selftests/bpf: Fix data_in_arena test with GCC
1mo ago
data_in_arena_rust.rs
selftests/bpf: Format data_in_arena_rust.rs with rustfmt
1mo ago
data_in_arena.c
selftests/bpf: Fix data_in_arena test with GCC
1mo ago
decap_sanity.c
dev_cgroup.c
dmabuf_iter.c
selftests/bpf: Fix OOB read in dmabuf_collector
8mo ago
dummy_st_ops_fail.c
dummy_st_ops_success.c
dynptr_fail.c
selftests/bpf: Test dynptr teardown on subprog return
1mo ago
dynptr_success.c
selftests/bpf: Test dynptr slices past end of skb
1mo ago
empty_skb.c
selftests/bpf: cover short IPv4/IPv6 inputs with adjust_room
7mo ago
epilogue_exit.c
epilogue_tailcall.c
err.h
exceptions_assert.c
selftests/bpf: update existing tests due to liveness changes
7mo ago
exceptions_dead_subprog.c
selftests/bpf: Add a test for an exception callback behind a dead subprog
1mo ago
exceptions_ext.c
exceptions_fail.c
bpf: Allow a global function to return arena pointers by value
2mo ago
exceptions.c
selftests/bpf: cover the exception callback using its own BPF stack
1mo ago
exhandler_kern.c
fd_htab_lookup.c
fentry_many_args.c
fentry_recursive_target.c
fentry_recursive.c
fentry_sleepable.c
selftests/bpf: Verify rejection of sleepable tracing prog
3mo ago
fentry_test.c
fexit_bpf2bpf_simple.c
fexit_bpf2bpf.c
selftests/bpf: Adjust fexit_bpf2bpf ctx layout for llvm23 true signature
5mo ago
fexit_many_args.c
fexit_sleep.c
fexit_test.c
fib_lookup.c
selftests/bpf: Add bpf_fib_lookup() VLAN flag tests
3mo ago
file_reader_fail.c
selftests/bpf: Use bpf_dynptr_slice() to read file dynptr in leak test
5mo ago
file_reader.c
selftests/bpf: Test per-call site function specialization
1mo ago
find_vma_fail1.c
find_vma_fail2.c
find_vma.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
10mo ago
freplace_attach_probe.c
freplace_connect_v4_prog.c
freplace_connect4.c
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
8mo ago
freplace_progmap.c
freplace_ret_pair.c
selftests/bpf: Add inline-asm and subprog tests for R0: R2 returns
2mo ago
freplace_unreliable_prog.c
freplace_void.c
selftests: bpf: Add tests for void global subprogs
8mo ago
fsession_test.c
selftests/bpf: test fsession mixed with fentry and fexit
9mo ago
get_branch_snapshot.c
get_cgroup_id_kern.c
get_func_args_fsession_test.c
selftests/bpf: factor out get_func_* tests for fsession
8mo ago
get_func_args_test.c
selftests/bpf: Test out-of-range index bits in bpf_get_func_arg()
3w ago
get_func_ip_fsession_test.c
selftests/bpf: factor out get_func_* tests for fsession
8mo ago
get_func_ip_test.c
selftests/bpf: factor out get_func_* tests for fsession
8mo ago
get_func_ip_uprobe_test.c
get_smp_processor_id.c
selftests/bpf: Add test for bpf_get_smp_processor_id
4mo ago
getpeername_unix_prog.c
getpeername4_prog.c
getpeername6_prog.c
getsockname_unix_prog.c
getsockname4_prog.c
getsockname6_prog.c
htab_mem_bench.c
htab_reuse.c
selftests/bpf: Add torn write detection test for htab BPF_F_LOCK
7mo ago
htab_update.c
bpf: Cancel special fields on map value recycle
5mo ago
icmp_send.c
selftests/bpf: Add bpf_icmp_send recursion test
4mo ago
ima.c
inner_array_lookup.c
ip_check_defrag.c
selftests/bpf: remove unnecessary kfunc prototypes
1y ago
irq.c
selftests/bpf: Test verifier stack-read diagnostic attribution
1mo ago
iter_buf_null_fail.c
selftests/bpf: add test for nullable PTR_TO_BUF access
7mo ago
iters_css_task.c
iters_css.c
selftests/bpf: cover BPF_CGROUP_ITER_CHILDREN control option
9mo ago
iters_looping.c
selftests/bpf: Test widen_imprecise_scalars() with different stack depth
11mo ago
iters_num.c
iters_state_safety.c
selftests/bpf: Test verifier stack-read diagnostic attribution
1mo ago
iters_task_failure.c
selftests/bpf: Test RCU iterator state pruning
3mo ago
iters_task_vma.c
iters_task.c
iters_testmod_seq.c
bpf: Refactor object relationship tracking and fix dynptr UAF bug
5mo ago
iters_testmod.c
selftests/bpf: Cover trusted BTF ID argument provenance
3w ago
iters.c
selftests/bpf: Add tests for iterator created anew in its loop
1mo ago
jeq_infer_not_null_fail.c
jit_insns_arena.c
selftests/bpf: Drop subtest descriptions in jit_insns_arena
3w ago
jit_probe_mem.c
kasan_harden.c
selftests/bpf: add tests to validate KASAN on JIT programs
2mo ago
kasan.c
selftests/bpf: add tests to validate KASAN on JIT programs
2mo ago
kfree_skb.c
kfunc_call_destructive.c
kfunc_call_fail.c
selftests/bpf: Test module kfunc calls under spin lock
3mo ago
kfunc_call_race.c
kfunc_call_test_subprog.c
kfunc_call_test.c
selftests/bpf: Test module kfunc calls under spin lock
3mo ago
kfunc_implicit_args_tracing.c
selftests/bpf: Cover tracing implicit kfunc args
3mo ago
kfunc_implicit_args.c
selftests/bpf: Add tests for KF_IMPLICIT_ARGS
9mo ago
kfunc_module_order.c
kmem_cache_iter.c
kprobe_multi_empty.c
kprobe_multi_override.c
selftests/bpf: Add test for bpf_override_return helper
9mo ago
kprobe_multi_session_cookie.c
bpf: change prototype of bpf_session_{cookie,is_return}
9mo ago
kprobe_multi_session.c
selftests/bpf: Add tests for kprobe.session optimization
8mo ago
kprobe_multi_sleepable.c
selftests/bpf: Add test to ensure kprobe_multi is not sleepable
7mo ago
kprobe_multi_verifier.c
kprobe_multi.c
kprobe_write_ctx.c
selftests/bpf: Add test to verify the fix of kprobe_write_ctx abuse
7mo ago
kptr_xchg_inline.c
selftests/bpf: Update kfuncs using btf_struct_meta to new variants
7mo ago
ksock_common.h
selftests/bpf: Test ksock sendto()
3w ago
ksock_lsm_verifier.c
selftests/bpf: Test forbidden bpf_ksock_sendto() LSM attach
3w ago
ksock_lsm.c
selftests/bpf: Add ksock kfunc test
2mo ago
ksock_sendto.c
selftests/bpf: Test ksock sendto()
3w ago
ksock_wq.c
selftests/bpf: Test ksock connect/send calls from wq
3w ago
ksym_race.c
linked_arena1.c
selftests/bpf: Fix linked_externs with bpf-gcc
1mo ago
linked_arena2.c
selftests/bpf: Fix linked_externs with bpf-gcc
1mo ago
linked_funcs1.c
linked_funcs2.c
linked_list_fail.c
selftests/bpf: Cover MEM_ALLOC access past object bounds
4mo ago
linked_list_peek.c
linked_list.c
bpf: Cancel special fields on map value recycle
5mo ago
linked_list.h
linked_maps1.c
linked_maps2.c
linked_vars1.c
linked_vars2.c
lirc_mode2.c
selftests/bpf: Convert lirc_mode2 to prog_tests and extend coverage
2mo ago
livepatch_trampoline.c
selftests/bpf: Add tests for livepatch + bpf trampoline
1y ago
load_bytes_relative.c
local_kptr_stash_fail.c
local_kptr_stash.c
local_storage_bench.c
local_storage_rcu_tasks_trace_bench.c
local_storage.c
selftests/bpf: Fix outdated test on storage->smap
9mo ago
loop1.c
loop2.c
loop3.c
loop4.c
loop5.c
loop6.c
lpm_trie_bench.c
selftests/bpf: Move arena-related headers into libarena
6mo ago
lpm_trie_map.c
lpm_trie.h
lru_bug.c
lru_lock_nmi.c
selftests/bpf: Stress LRU rqspinlock recovery paths
5mo ago
lsm_bdev.c
selftests/bpf: add block device management selftests
7mo ago
lsm_cgroup_nonvoid.c
lsm_cgroup.c
selftests/bpf: Add retval test for bool and errno LSM cgroup hooks
5mo ago
lsm_inode_init_xattr_budget.c
selftests/bpf: Add tests for BPF LSM inode init labelling
1mo ago
lsm_inode_init_xattr_value.c
selftests/bpf: Add tests for BPF LSM inode init labelling
1mo ago
lsm_inode_init_xattr.c
selftests/bpf: Add tests for BPF LSM inode init labelling
1mo ago
lsm_tailcall.c
selftests/bpf: Remove usage of lsm/file_alloc_security in selftest
11mo ago
lsm.c
Merge tag 'bpf-next-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2w ago
lwt_misc.c
selftests/bpf: Add selftests for the invocation of bpf_lwt_xmit_push_encap
8mo ago
map_excl.c
selftests/bpf: Bind an exclusive map through a continuous fd_array
3w ago
map_in_map_btf.c
map_kptr_fail.c
bpf: Consolidate release argument validation
2mo ago
map_kptr_race.c
selftests/bpf: Add tests for special fields races
8mo ago
map_kptr.c
selftests/bpf: Verify no non-zeroed kernel heap memory exposure
4mo ago
map_percpu_stats.c
map_ptr_kern.c
bpf: htab: Reduce elem_size by 8 bytes for small key sizes
3w ago
may_goto_priv_stack.c
selftests/bpf: Add test for timed may_goto with private stack
1mo ago
mem_rdonly_untrusted.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
memcg_proactive_reclaim.c
selftests/bpf: Add bpf_proactive_reclaim test
3w ago
metadata_unused.c
metadata_used.c
missed_kprobe_recursion.c
missed_kprobe.c
missed_tp_recursion.c
mmap_inner_array.c
modify_return.c
selftests/bpf: Isolate fmod_ret hooks by pid
7mo ago
mptcp_bpf.h
mptcp_sock.c
mptcp_sockmap.c
selftests/bpf: Add mptcp test with sockmap
11mo ago
mptcp_subflow.c
mptcp: pm: rename 'subflows' to 'extra_subflows'
1y ago
mptcpify.c
selftests/bpf: Mask socket type flags in mptcpify prog
4mo ago
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
10mo ago
percpu_alloc_cgrp_local_storage.c
percpu_alloc_fail.c
selftests/bpf: Test nullable per-CPU kptr identity after exchange
2mo ago
perf_event_stackmap.c
perfbuf_bench.c
preempt_lock.c
selftests/bpf: Test non-sleepable kfunc context
1mo ago
preempted_bpf_ma_op.c
prepare.c
priv_freplace_prog.c
priv_map.c
priv_prog.c
pro_epilogue_goto_start.c
pro_epilogue_with_kfunc.c
pro_epilogue.c
profiler.h
selftests/bpf: Adjust selftest due to function rename
8mo ago
profiler.inc.h
selftests/bpf: Adjust selftest due to function rename
8mo ago
profiler1.c
profiler2.c
profiler3.c
pyperf_global.c
pyperf_subprogs.c
pyperf.h
selftests/bpf: Make pyperf600 a success again
2mo ago
pyperf100.c
pyperf180.c
pyperf50.c
pyperf600_bpf_loop.c
pyperf600_iter.c
pyperf600_nounroll.c
pyperf600.c
raw_tp_null_fail.c
selftests/bpf: Test sched_process_wait nullable argument
2mo ago
raw_tp_null.c
rbtree_btf_fail__add_wrong_type.c
rbtree_btf_fail__wrong_node_type.c
rbtree_fail.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
rbtree_search_kptr.c
selftests/bpf: Add test case for rbtree nodes that contain both bpf_refcount and kptr fields.
8mo ago
rbtree_search.c
rbtree.c
rcu_read_lock.c
selftests/bpf: Reject graph kptr use after RCU unlock
2mo ago
rcu_reentry.c
selftests/bpf: Add a call_srcu() re-entry reproducer
1mo ago
rcu_tasks_trace_gp.c
selftests/bpf: Fix map_kptr grace period wait
8mo ago
read_cgroupfs_xattr.c
read_vsyscall.c
recursion.c
recvmsg_unix_prog.c
recvmsg4_prog.c
recvmsg6_prog.c
refcounted_kptr_fail.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
refcounted_kptr.c
selftests/bpf: Test borrowed refcount acquisition nullability
2mo ago
res_spin_lock_fail.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
res_spin_lock.c
rhash_timer.c
selftests/bpf: Test timer field on recycled rhtab element
2mo ago
rhash.c
selftests/bpf: Test rhtab kptr cancellation semantics
2mo ago
ringbuf_bench.c
selftests/bpf/benchs: Add overwrite mode benchmark for BPF ring buffer
1y ago
security_bpf_map.c
sendmsg_unix_prog.c
sendmsg4_prog.c
sendmsg6_prog.c
set_global_vars.c
setget_sockopt.c
selftests/bpf: Avoid jiffies quantization error in setget_sockopt
1mo ago
sk_bypass_prot_mem.c
selftests/bpf: Restrict bpf_set_retval argument in sk_bypass_prot_mem
5mo ago
sk_storage_omem_uncharge.c
selftests/bpf: Update sk_storage_omem_uncharge test
9mo ago
skb_csum_complete.c
selftests/bpf: Cover test_run csum validation after bpf_skb_change_tail()
1mo ago
skb_load_bytes.c
skb_pkt_end.c
snprintf_btf_void.c
selftests/bpf: Add test for showing a void BTF type
2mo ago
sock_addr_kern.c
sock_destroy_prog_fail.c
sock_destroy_prog.c
selftests/bpf: Test bpf_sock_destroy() on TIME_WAIT and listener socks
2mo ago
sock_iter_batch.c
sock_ops_get_sk.c
selftests/bpf: Add tests for sock_ops ctx access with same src/dst register
7mo ago
sock_read_xattr.c
selftests/bpf: Add test for bpf_sock_read_xattr() kfunc
4mo ago
socket_cookie_prog.c
sockmap_parse_prog.c
selftests/bpf: don't modify the skb in the strparser parser prog
4mo ago
sockmap_tcp_msg_prog.c
sockmap_verdict_prog.c
selftests/bpf: Fix test_maps sockmap failure
4mo ago
sockopt_inherit.c
sockopt_multi.c
sockopt_qos_to_cc.c
sockopt_sk.c
selftest: bpf: Add test for bpf_tcp_sock() and RAW socket.
6mo ago
stack_arg_fail.c
selftests/bpf: Add tests for by-value kfunc arguments
1mo ago
stack_arg_kfunc.c
selftests/bpf: Enable stack argument tests for RV64
2mo ago
stack_arg_precision.c
selftests/bpf: Fix stack_arg precision backtracking log expectation
3w ago
stack_arg.c
selftests/bpf: Enable stack argument tests for RV64
2mo ago
stacktrace_ips.c
selftests/bpf: Add stacktrace ips test for fentry/fexit
9mo ago
stacktrace_map_skip.c
stacktrace_map.c
selftests/bpf: Add stacktrace map lookup_and_delete_elem test case
1y ago
stream_fail.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
stream.c
selftests/bpf: Test program stream file descriptors
1mo ago
string_kfuncs_failure1.c
selftests/bpf: Test kfunc bpf_strncasecmp
9mo ago
string_kfuncs_failure2.c
selftests/bpf: Test kfunc bpf_strncasecmp
9mo ago
string_kfuncs_success.c
selftests/bpf: Test kfunc bpf_strncasecmp
9mo ago
strncmp_bench.c
strncmp_test.c
strobemeta_bpf_loop.c
strobemeta_nounroll1.c
strobemeta_nounroll2.c
strobemeta_subprogs.c
strobemeta.c
strobemeta.h
selftests/bpf: Fix selftest verif_scale_strobemeta failure with llvm22
1y ago
struct_ops_arena_attach.c
selftests/bpf: Test attach rejection for struct_ops arena programs
3mo ago
struct_ops_arena_autobind.c
selftests/bpf: Test arena binding by libbpf
3w ago
struct_ops_arena_fail.c
selftests/bpf: Add struct_ops __arena and __arena__nullable argument tests
3mo ago
struct_ops_arena_member_fail__mismatch_mem.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena_member_fail__mismatch.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena_member_fail__no_arena.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena_member_fail__union.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena_member_fail__write.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena_member_fail__xchg.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena_member_render.c
selftests/bpf: Test the address space rendering of the arena type tag
3w ago
struct_ops_arena_member.c
selftests/bpf: Test __arena pointer members
3w ago
struct_ops_arena.c
selftests/bpf: Test a multi-slot argument before a struct_ops arena argument
2mo ago
struct_ops_assoc_in_timer.c
selftests/bpf: Migrate struct_ops_assoc test to KF_IMPLICIT_ARGS
9mo ago
struct_ops_assoc_reuse.c
selftests/bpf: Migrate struct_ops_assoc test to KF_IMPLICIT_ARGS
9mo ago
struct_ops_assoc.c
selftests/bpf: Migrate struct_ops_assoc test to KF_IMPLICIT_ARGS
9mo ago
struct_ops_autocreate.c
struct_ops_autocreate2.c
struct_ops_detach.c
struct_ops_forgotten_cb.c
struct_ops_id_ops_mapping1.c
struct_ops_id_ops_mapping2.c
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
9mo ago
struct_ops_kptr_return.c
struct_ops_maybe_null_fail.c
struct_ops_maybe_null.c
struct_ops_module.c
struct_ops_multi_args.c
selftests/bpf: Add test for indirect struct_ops trampoline
1mo ago
struct_ops_multi_pages.c
struct_ops_nullable_fail__percpu.c
selftests/bpf: Test __nullable pointer members
3w ago
struct_ops_nullable_fail.c
selftests/bpf: Test __nullable pointer members
3w ago
struct_ops_nullable_probed__plain.c
selftests/bpf: Test __nullable pointer members
3w ago
struct_ops_nullable_probed__scalar.c
selftests/bpf: Test __nullable pointer members
3w ago
struct_ops_nullable_probed__untrusted.c
selftests/bpf: Test __nullable pointer members
3w ago
struct_ops_nullable.c
selftests/bpf: Test __nullable pointer members
3w ago
struct_ops_nulled_out_cb.c
struct_ops_private_stack_fail.c
selftests/bpf: Give the 512-byte stack boundary tests a 2 KiB twin
1mo ago
struct_ops_private_stack_large.c
selftests/bpf: Test the 2 KiB stack budget
1mo ago
struct_ops_private_stack_recur.c
selftests/bpf: Enable private stack tests for powerpc64
7mo ago
struct_ops_private_stack.c
selftests/bpf: Enable private stack tests for powerpc64
7mo ago
struct_ops_refcounted_fail__global_subprog.c
struct_ops_refcounted_fail__ref_leak.c
struct_ops_refcounted_fail__tail_call.c
struct_ops_refcounted.c
summarization_freplace.c
summarization.c
syscall.c
tailcall_bpf2bpf_fentry.c
tailcall_bpf2bpf_fexit.c
tailcall_bpf2bpf_hierarchy_fentry.c
selftests/bpf: Keep int return type for tailcall subprogs
5mo ago
tailcall_bpf2bpf_hierarchy1.c
selftests/bpf: Keep int return type for tailcall subprogs
5mo ago
tailcall_bpf2bpf_hierarchy2.c
selftests/bpf: Keep int return type for tailcall subprogs
5mo ago
tailcall_bpf2bpf_hierarchy3.c
selftests/bpf: Keep int return type for tailcall subprogs
5mo ago
tailcall_bpf2bpf1.c
tailcall_bpf2bpf2.c
selftests/bpf: Keep int return type for tailcall subprogs
5mo ago
tailcall_bpf2bpf3.c
tailcall_bpf2bpf4.c
tailcall_bpf2bpf6.c
tailcall_callback.c
selftests/bpf: Test direct tail calls from callbacks
2mo ago
tailcall_cgrp_storage_no_storage.c
selftests/bpf: Cover tail-call cgroup storage prog-array checks
5mo ago
tailcall_cgrp_storage_owner.c
selftests/bpf: Cover tail-call cgroup storage prog-array checks
5mo ago
tailcall_cgrp_storage.c
selftests/bpf: Cover tail-call cgroup storage prog-array checks
5mo ago
tailcall_fail.c
tailcall_freplace_multi.c
selftests/bpf: Verify is_extended with multiple freplace links
1mo ago
tailcall_freplace.c
tailcall_large_stack.c
selftests/bpf: Test the 2 KiB stack budget
1mo ago
tailcall_poke.c
tailcall_sleepable.c
selftests/bpf: Add test for sleepable program tailcalls
9mo ago
tailcall1.c
tailcall2.c
tailcall3.c
selftests/bpf: Test accounting of tail calls when prog is NULL
8mo ago
tailcall4.c
tailcall5.c
tailcall6.c
task_kfunc_common.h
selftests/bpf: Test overlapping RCU protection
3mo ago
task_kfunc_failure.c
bpf: Check helper and kfunc arguments in one path
2mo ago
task_kfunc_success.c
selftests/bpf: Test overlapping RCU protection
3mo ago
task_local_data.bpf.h
selftests/bpf: Bound the offset accumulator in __tld_fetch_key()
2mo ago
task_local_storage_exit_creds.c
task_local_storage.c
selftests/bpf: Trace bpf_local_storage_update to debug flaky local storage tests
6mo ago
task_ls_recursion.c
selftests/bpf: Update task_local_storage/recursion test
9mo ago
task_ls_uptr.c
task_storage_nodeadlock.c
selftests/bpf: Update task_local_storage/task_storage_nodeadlock test
9mo ago
task_work_busy.c
selftests/bpf: Add task work BUSY window test
3w ago
task_work_fail.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
task_work_race.c
selftests/bpf: Add task work cancellation race test
3w ago
task_work_stress.c
bpf: Migrate bpf_task_work_schedule_* kfuncs to KF_IMPLICIT_ARGS
9mo ago
task_work.c
bpf: Migrate bpf_task_work_schedule_* kfuncs to KF_IMPLICIT_ARGS
9mo ago
tc_bpf2bpf.c
tc_dummy.c
tcp_autolowat.c
selftest: bpf: Add test for bpf_tcp_ops.{enqueue,dequeue}_rcvq().
1mo ago
tcp_ca_incompl_cong_ops.c
tcp_ca_kfunc.c
tcp: Replace min_tso_segs() with tso_segs() CC callback
2mo ago
tcp_ca_unsupp_cong_op.c
tcp_ca_untrusted_btf_write.c
selftests/bpf: Add untrusted BTF write regression
4mo ago
tcp_ca_update.c
tcp_ca_write_sk_pacing.c
selftests/bpf: Move common TCP helpers into bpf_tracing_net.h
11mo ago
tcp_rtt.c
test_assign_reuse.c
test_attach_kprobe_sleepable.c
test_attach_probe_manual.c
test_attach_probe.c
test_autoattach.c
test_autoload.c
test_bpf_cookie.c
test_bpf_ma.c
test_bpf_nf_fail.c
bpf: Prepare verifier logs for upcoming kfunc stack arguments
6mo ago
test_bpf_nf.c
selftests/bpf: Fix flaky bpf_nf test when random NAT port is 0
2mo ago
test_btf_decl_tag.c
bpf: GCC requires function attributes before the declarator
10mo ago
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_cgroup_link.c
test_cgroup1_hierarchy.c
test_check_mtu.c
selftests/bpf: Test bpf_skb_check_mtu(BPF_MTU_CHK_SEGS) when transport_header is not set
11mo ago
test_cls_redirect_dynptr.c
test_cls_redirect_subprogs.c
test_cls_redirect.c
test_cls_redirect.h
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
9mo ago
test_custom_sec_handlers.c
test_d_path_check_rdonly_mem.c
test_d_path_check_types.c
test_d_path.c
selftests/bpf: add regression test for bpf_d_path()
11mo ago
test_deny_namespace.c
test_dst_clear.c
selftests/bpf: Test that dst is cleared on same-protocol encap
7mo ago
test_enable_stats.c
test_endian.c
test_fill_link_info.c
selftests/bpf: Add tracing_multi link info tests
4mo ago
test_fsverity.c
test_get_stack_rawtp_err.c
test_get_stack_rawtp.c
test_get_xattr.c
test_global_data.c
test_global_func_args.c
test_global_func_ctx_args.c
test_global_func_deep_stack.c
selftests/bpf: Give the 512-byte stack boundary tests a 2 KiB twin
1mo ago
test_global_func1.c
selftests/bpf: Give the 512-byte stack boundary tests a 2 KiB twin
1mo ago
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_func2.c
test_global_func3.c
bpf: Raise maximum call chain depth to 16 frames
4mo ago
test_global_func4.c
test_global_func5.c
bpf: Check subprog context arguments in the common path
1mo ago
test_global_func6.c
test_global_func7.c
bpf: Allow void global functions in the verifier
8mo ago
test_global_func8.c
test_global_func9.c
test_global_map_resize.c
test_global_percpu_data.c
selftests/bpf: Avoid flaky resize value test for percpu data
2mo ago
test_hash_large_key.c
test_helper_restricted.c
test_jhash.h
test_kernel_flag.c
test_kfunc_dynptr_param.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
test_kfunc_param_nullable.c
bpf: Prepare verifier logs for upcoming kfunc stack arguments
6mo ago
test_ksyms_btf_null_check.c
test_ksyms_btf_write_check.c
test_ksyms_btf.c
test_ksyms_module.c
test_ksyms_weak.c
test_ksyms.c
test_l4lb_noinline_dynptr.c
test_l4lb_noinline.c
test_l4lb.c
test_ldsx_insn.c
test_legacy_printk.c
test_libbpf_get_fd_by_id_opts.c
test_link_pinning.c
test_log_buf.c
test_log_fixup.c
test_lookup_and_delete.c
test_lookup_key.c
test_lwt_ip_encap.c
selftests/bpf: Add tests to verify the fix of encapsulating VxLAN in lwt
5mo ago
test_lwt_redirect.c
test_lwt_reroute.c
test_lwt_seg6local.c
test_map_in_map_invalid.c
test_map_in_map.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
selftests/bpf: Test TCP_NODELAY in TCP hdr opt callbacks
6mo ago
test_mmap.c
test_module_attach.c
selftests/bpf: Split module_attach into subtests
8mo ago
test_netfilter_link_attach.c
test_ns_current_pid_tgid.c
test_obj_id.c
test_overhead.c
test_parse_tcp_hdr_opt_dynptr.c
test_parse_tcp_hdr_opt.c
test_pe_preserve_elems.c
test_perf_branches.c
selftests/bpf: Improve reliability of test_perf_branches_no_hw()
11mo ago
test_perf_buffer.c
test_perf_link.c
test_perf_skip.c
test_pinning_devmap.c
test_pinning_htab.c
selftests/bpf: Add test for unpinning htab with internal timer struct
1y ago
test_pinning_invalid.c
test_pinning.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
8mo ago
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_map_key.c
bpf: Unify referenced object tracking in verifier
5mo ago
test_ringbuf_multi.c
test_ringbuf_n.c
test_ringbuf_overwrite.c
selftests/bpf: Add overwrite mode test for BPF ring buffer
1y ago
test_ringbuf_write.c
test_ringbuf.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_signed_loader_data.c
selftests/bpf: Test signed loader error paths
5mo ago
test_signed_loader_lsm.c
selftests/bpf: Inspect the signature verdict exposed to BPF LSM
5mo ago
test_signed_loader_map.c
selftests/bpf: Test signed loader error paths
5mo ago
test_signed_loader.c
selftests/bpf: Verify load-time signed loader metadata
4mo ago
test_siphash.h
lib: Move SipHash into lib/crypto/
1mo ago
test_sk_assign_libbpf.c
test_sk_assign.c
test_sk_lookup_kern.c
test_sk_lookup.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
selftests/bpf: Bound UNIX socket path loops by sun_path size
1mo ago
test_skeleton.c
test_skmsg_load_helpers.c
test_sleepable_tracepoints_fail.c
selftests/bpf: Add tests for sleepable tracepoint programs
6mo ago
test_sleepable_tracepoints.c
selftests/bpf: Add tests for sleepable tracepoint programs
6mo ago
test_snprintf_single.c
test_snprintf.c
selftests/bpf: Replace %pK output with 0
1mo ago
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
selftests/bpf: drop the unused kTLS program from test_sockmap
4mo ago
test_sockmap_listen.c
test_sockmap_msg_pop_data.c
selftests/bpf: add test for bpf_msg_pop_data() overflow
4mo ago
test_sockmap_pass_prog.c
selftests/bpf: Add tests for FIONREAD and copied_seq
9mo ago
test_sockmap_progs_query.c
test_sockmap_redir.c
test_sockmap_skb_verdict_attach.c
test_sockmap_strp.c
selftests/bpf: test rejection of a packet-modifying SK_SKB stream parser
4mo ago
test_spin_lock_fail.c
selftests/bpf: Check callback map value lock identity
1mo ago
test_spin_lock.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_extable.c
test_subprogs_unused.c
test_subprogs.c
test_subskeleton_lib.c
test_subskeleton_lib2.c
test_subskeleton.c
test_sysctl_loop1.c
test_sysctl_loop2.c
test_sysctl_prog.c
test_task_local_data.c
test_task_pt_regs.c
test_task_under_cgroup.c
test_tc_bpf.c
test_tc_change_tail_pmtu.c
selftests/bpf: Add test for bpf_skb_change_tail on csum partial skbs
2mo ago
test_tc_change_tail.c
test_tc_dtime.c
test_tc_edt.c
selftests/bpf: Time tc_edt from its first packet with data
3w ago
test_tc_link.c
selftests/bpf: Record only the test ICMP echo in tc8 of tc_netkit_scrub
3w ago
test_tc_neigh_fib.c
test_tc_neigh.c
test_tc_peer.c
selftests/bpf: Add tests for bpf_redirect_peer with BPF_F_EGRESS
4mo ago
test_tc_qevent.c
selftests/bpf: Add test for redirect from qdisc qevent block
3mo ago
test_tc_tunnel.c
selftests/bpf: tc_tunnel - validate decap GSO and encapsulation state
2mo ago
test_tcp_custom_syncookie.c
test_tcp_custom_syncookie.h
test_tcp_estats.c
test_tcp_hdr_options.c
test_tcpbpf_kern.c
test_tcpnotify_kern.c
test_time_tai.c
test_tp_btf_nullable.c
test_trace_ext_tracing.c
test_trace_ext.c
test_tracepoint.c
test_trampoline_count.c
selftests/bpf: move trampoline_count to dedicated bpf_testmod target
7mo ago
test_tunnel_kern.c
selftests/bpf: Use local type for bpf_fou_encap in test_tunnel_kern
6mo ago
test_unpriv_bpf_disabled.c
test_uprobe_autoattach.c
test_uprobe.c
test_urandom_usdt.c
test_usdt_multispec.c
test_usdt.c
selftests/bpf: Add tests for uprobe nop10 red zone clobbering
4mo ago
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
selftests/bpf: Use both hrtimer enqueue helpers in vmlinux test
6mo ago
test_wakeup_source.c
selftests/bpf: Add tests for wakeup_sources kfuncs
5mo ago
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
1y ago
test_xdp_do_redirect.c
test_xdp_dynptr.c
test_xdp_link.c
test_xdp_loop.c
test_xdp_meta.c
selftests/bpf: Add LWT encap tests for skb metadata
4mo ago
test_xdp_noinline.c
test_xdp_pull_data.c
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
test_xdp.c
timer_crash.c
timer_failure.c
selftests/bpf: Add timer tests for a re-arming callback with a loop
1mo ago
timer_interrupt.c
timer_lockup.c
timer_mim_reject.c
selftests/bpf: Test inner map identities in callbacks
2mo ago
timer_mim.c
timer_start_deadlock.c
selftests/bpf: Fix timer_start_deadlock failure due to hrtimer change
6mo ago
timer_start_delete_race.c
selftests/bpf: Add a test to stress bpf_timer_start and map_delete race
9mo ago
timer.c
selftests/bpf: Add timer tests for a re-arming callback with a loop
1mo ago
token_kallsyms.c
selftests/bpf: verify kallsyms entries for token-loaded subprograms
6mo ago
token_lsm.c
trace_dummy_st_ops.c
trace_printk.c
selftests/bpf: cover UTF-8 trace_printk output
6mo ago
trace_vprintk.c
tracing_failure.c
selftests/bpf: Add tests for >8 byte return value and 128-bit arguments
3mo ago
tracing_multi_attach_module.c
selftests/bpf: Add tracing multi skel/pattern/ids module attach tests
5mo ago
tracing_multi_attach.c
selftests/bpf: Add tracing multi skel/pattern/ids attach tests
5mo ago
tracing_multi_bench.c
selftests/bpf: Add tracing multi attach benchmark test
5mo ago
tracing_multi_check.c
selftests/bpf: Add tracing multi cookies test
5mo ago
tracing_multi_fail.c
selftests/bpf: Add tracing multi attach fails test
5mo ago
tracing_multi_intersect_attach.c
selftests/bpf: Test fentry link after tracing_multi link
4mo ago
tracing_multi_rollback.c
selftests/bpf: Add tracing multi attach rollback tests
5mo ago
tracing_multi_session_attach.c
selftests/bpf: Add tracing multi session test
5mo ago
tracing_multi_verifier.c
selftests/bpf: Add tracing multi verifier fails test
5mo ago
tracing_stack_arg_tailcall_tgt.c
selftests/bpf: Test trampoline stack args in a program that can tail call
3w ago
tracing_stack_arg_tailcall_tracer.c
selftests/bpf: Test trampoline stack args in a program that can tail call
3w ago
tracing_struct_int128_tgt.c
selftests/bpf: Test trampolines on more BPF functions with stack args
3w ago
tracing_struct_int128_tracer.c
selftests/bpf: Test trampolines on more BPF functions with stack args
3w ago
tracing_struct_int128.c
selftests/bpf: Test trampoline args around a 16-byte aligned stack arg
3w ago
tracing_struct_many_args.c
tracing_struct.c
tramp_prog_detach.c
selftests/bpf: Detach a trampoline prog while a task sleeps before it
1mo ago
trigger_bench.c
selftests/bpf: Add usdt trigger bench
8mo ago
twfw.c
type_cast.c
udp_limit.c
uninit_stack.c
selftests/bpf: update existing tests due to liveness changes
7mo ago
unsupported_ops.c
unwind_attach.c
selftests/bpf: Test unwind_exit of an exception callback
3w ago
unwind_cxx.cpp
selftests/bpf: Test unwinding from R0: R2 subprog
3w ago
update_map_in_htab.c
uprobe_multi_bench.c
uprobe_multi_consumers.c
uprobe_multi_pid_filter.c
uprobe_multi_session_cookie.c
bpf: change prototype of bpf_session_{cookie,is_return}
9mo ago
uprobe_multi_session_recursive.c
bpf: change prototype of bpf_session_{cookie,is_return}
9mo ago
uprobe_multi_session_single.c
uprobe_multi_session.c
bpf: change prototype of bpf_session_{cookie,is_return}
9mo ago
uprobe_multi_usdt.c
uprobe_multi_verifier.c
uprobe_multi.c
uprobe_syscall_executed.c
uprobe_syscall.c
uptr_failure.c
uptr_map_failure.c
uptr_update_failure.c
uretprobe_stack.c
user_ringbuf_fail.c
bpf: Remove redundant dynptr arg check for helper
5mo ago
user_ringbuf_success.c
verifier_aggregate_arg.c
selftests/bpf: Add C tests for by-value arguments up to 16 bytes
1mo ago
verifier_aggregate_ret.c
selftests/bpf: Report placeholder tests as SKIP, not OK
2mo ago
verifier_align.c
bpf: Fix packet range of pointers sharing an id
1mo ago
verifier_and.c
verifier_arena_globals1.c
selftests/bpf: Move arena-related headers into libarena
6mo ago
verifier_arena_globals2.c
selftests/bpf: Move arena-related headers into libarena
6mo ago
verifier_arena_large.c
selftests/bpf: Test large allocations for both sleepable/nonsleepable arena users
1mo ago
verifier_arena_scalar.c
selftests/bpf: Move the no-arena tests out of objects with an arena map
3w ago
verifier_arena.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 7.3-rc4
1mo ago
verifier_array_access.c
verifier_async_cb_context.c
selftests/bpf: Test global subprog callback contexts
1mo ago
verifier_basic_stack.c
bpf: Show more useful info in stack depth stats
3mo ago
verifier_bitfield_write.c
verifier_bits_iter.c
bpf: Prepare verifier logs for upcoming kfunc stack arguments
6mo ago
verifier_bounds_deduction_non_const.c
verifier_bounds_deduction.c
verifier_bounds_mix_sign_unsign.c
verifier_bounds_step.c
selftests/bpf: Harden __msg patterns for step_movsx_bounds_on_line
4w ago
verifier_bounds.c
selftests/bpf: Add reg-invariants test for speculative pointer arithmetic
2mo ago
verifier_bpf_fastcall.c
selftests/bpf: Test fastcall rewrite with indirect stack accesses
1mo ago
verifier_bpf_get_stack.c
verifier_bpf_trap.c
verifier_bswap.c
selftests/bpf: Enable some of the blocked cpuv4 instruction tests for bpf-gcc
2mo ago
verifier_btf_array_access.c
selftests/bpf: BPF_F_ANY_ALIGNMENT for byte_array_size_spanning()
4w ago
verifier_btf_ctx_access.c
verifier_btf_flex_array.c
selftests/bpf: Test BTF walk into a flexible array of zero-sized elements
2mo ago
verifier_btf_unreliable_prog.c
verifier_call_large_imm.c
selftests/bpf: Add test for large offset bpf-to-bpf call
6mo ago
verifier_callx_rodata.c
selftests/bpf: Enable callx related testcases for RV64
1mo ago
verifier_callx.c
selftests/bpf: Enable callx related testcases for RV64
1mo ago
verifier_cfg.c
selftests/bpf: Test Program Structure diagnostic context
1mo ago
verifier_cgroup_inv_retcode.c
verifier_cgroup_skb.c
verifier_cgroup_storage.c
selftests/bpf: precision of a NULL helper argument
2mo ago
verifier_const_or.c
verifier_const.c
verifier_ctx_ptr_param.c
selftests/bpf: Add trampolines single and multi-level pointer params test coverage
7mo ago
verifier_ctx_sk_msg.c
verifier_ctx.c
bpf: Consolidate nullable argument validation
2mo ago
verifier_d_path.c
verifier_default_trusted_ptr.c
selftests/bpf: update verifier test for default trusted pointer semantics
9mo ago
verifier_direct_packet_access.c
selftests/bpf: Test packet range of pointers sharing an id
1mo ago
verifier_direct_stack_access_wraparound.c
verifier_div_mod_bounds.c
selftests/bpf: update existing tests due to liveness changes
7mo ago
verifier_div_overflow.c
verifier_div0.c
verifier_flow_keys.c
selftests/bpf: add tests for PTR_TO_FLOW_KEYS offset bounds
5mo ago
verifier_global_ptr_args.c
selftests/bpf: Cover trusted BTF ID argument provenance
3w ago
verifier_global_subprogs.c
bpf: Check global subprog memory arguments in the common path
1mo ago
verifier_gotol.c
selftests/bpf: Report placeholder tests as SKIP, not OK
2mo ago
verifier_gotox.c
selftests/bpf: Enable gotox tests for riscv64
1mo ago
verifier_helper_access_var_len.c
selftests/bpf: Cover helper memory access permissions
1mo ago
verifier_helper_packet_access.c
bpf: Consolidate function call pkt_access validation
2mo ago
verifier_helper_restricted.c
selftests/bpf: Removed obsolete tests
9mo ago
verifier_helper_value_access.c
bpf: Rename ARG_CONST_SIZE{,_OR_ZERO} to ARG_MEM_SIZE{,_OR_ZERO}
3mo ago
verifier_idoms.c
selftests/bpf: Tests for immediate dominator computation
1mo ago
verifier_int_ptr.c
bpf: use reg->var_off instead of reg->off for pointers
8mo ago
verifier_iterating_callbacks.c
selftests/bpf: Test pointer bpf_loop iteration count rejection
2mo ago
verifier_jeq_infer_not_null.c
selftests/bpf: No non-NULL inference from an imprecise zero register
2mo ago
verifier_jit_convergence.c
selftests/bpf: Restore the je <-> jmp distance in convergence check
3w ago
verifier_jit_inline.c
riscv, bpf: Remap BPF_REG_0 and RV_REG_TCC
2mo ago
verifier_kfunc_packet_access.c
selftests/bpf: Test kfunc packet memory direct writes
2mo ago
verifier_kfunc_perfmon.c
selftests/bpf: Add tests for the KF_PERFMON gates
2mo ago
verifier_kfunc_prog_types.c
selftests: bpf: fix tests with raw_tp calling kfuncs
10mo ago
verifier_kfunc_uninit_multi.c
selftests/bpf: Cover generic output stack initialization
1mo ago
verifier_kfunc_uninit.c
bpf: Describe kfunc stack accesses with arg_access_info
1mo ago
verifier_large_stack.c
selftests/bpf: Test the 2 KiB stack budget
1mo ago
verifier_ld_ind.c
selftests/bpf: Reject legacy packet loads from callbacks
2mo ago
verifier_ldsx.c
riscv, bpf: Remap BPF_REG_0 and RV_REG_TCC
2mo ago
verifier_leak_ptr.c
verifier_linked_scalars.c
selftests/bpf: Add test for add_const base_id consistency
7mo ago
verifier_live_stack.c
selftests/bpf: Harden __msg pattern for global_callee_btf_arg
4w ago
verifier_liveness_exp.c
bpf: Raise maximum call chain depth to 16 frames
4mo ago
verifier_load_acquire.c
selftests/bpf: Report placeholder tests as SKIP, not OK
2mo ago
verifier_loop_hierarchy.c
selftests/bpf: Tests for loop hierarchy computation
1mo ago
verifier_loops1.c
selftests/bpf: Cover frame changes in bounded loops
1mo ago
verifier_lsm_init_xattr.c
selftests/bpf: Add verifier tests for the __ctx_out plumbing
1mo ago
verifier_lsm.c
selftests/bpf: Test that the BPF LSM context is read-only
1mo ago
verifier_lwt.c
verifier_map_in_map.c
bpf: Consolidate nullable argument validation
2mo ago
verifier_map_lookup_refine.c
bpf: Consolidate nullable argument validation
2mo ago
verifier_map_ptr_mixing.c
verifier_map_ptr.c
selftests/bpf: Adjust bpf_map layout in verifier_map_ptr
4mo ago
verifier_map_ret_val.c
verifier_masking.c
verifier_may_goto_1.c
selftests/bpf: Add tests for pc-relative insn copied into its own patch
1mo ago
verifier_may_goto_2.c
verifier_mem_size_reg.c
selftests/bpf: Test __szk precision with a NULL nullable buffer
3mo ago
verifier_meta_access.c
selftests/bpf: Test packet range of pointers sharing an id
1mo ago
verifier_movsx.c
selftests/bpf: Enable some of the blocked cpuv4 instruction tests for bpf-gcc
2mo ago
verifier_mtu.c
selftests/bpf: Cover helper memory access permissions
1mo ago
verifier_mul.c
verifier_netfilter_ctx.c
selftests/bpf: Add tests to assert that netfilter progs cannot write to skb
2mo ago
verifier_netfilter_retcode.c
verifier_or_jmp32_k.c
verifier_percpu_addr.c
selftests/bpf: Report placeholder tests as SKIP, not OK
2mo ago
verifier_precision.c
selftests/bpf: precision of a NULL kfunc argument
2mo ago
verifier_prevent_map_lookup.c
verifier_private_stack.c
selftests/bpf: Report placeholder tests as SKIP, not OK
2mo ago
verifier_ptr_to_buf.c
selftests/bpf: Cover negative buffer pointer offsets
3mo ago
verifier_raw_stack.c
selftests/bpf: Give the 512-byte stack boundary tests a 2 KiB twin
1mo ago
verifier_raw_tp_writable.c
selftests/bpf: Cover negative buffer pointer offsets
3mo ago
verifier_ref_tracking.c
bpf: Consolidate release argument validation
2mo ago
verifier_reg_equal.c
verifier_regalloc.c
verifier_ringbuf.c
verifier_runtime_jit.c
verifier_scalar_ids.c
selftests/bpf: Check the linked regs cap for the compared register
2mo ago
verifier_scev.c
selftests/bpf: Tests for 32-bit scalar evolution bounds computation
3w ago
verifier_sdiv.c
selftests/bpf: Enable some of the blocked cpuv4 instruction tests for bpf-gcc
2mo ago
verifier_search_pruning.c
verifier_set_retval.c
selftests/bpf: Add tests for bpf_set_retval validation
5mo ago
verifier_sock_addr.c
verifier_sock.c
selftests/bpf: Test narrow read of bpf_tcp_sock u64 fields
3w ago
verifier_sockmap_mutate.c
selftests/bpf: Drop tc/xdp/flow_dissector/socket_filter sockmap mutation tests
4mo ago
verifier_spill_fill.c
selftests/bpf: Test helper read of a narrow stack spill
1mo ago
verifier_spin_lock.c
verifier_stack_arg_order.c
bpf: Rename bpf_subprog_info::arg_cnt to arg_slot_cnt
1mo ago
verifier_stack_arg.c
selftests/bpf: Fix stack arg pruning test JOIN log expectation
3w ago
verifier_stack_ptr.c
bpf: Support 32-bit linear scalar evolution
3w ago
verifier_store_release.c
selftests/bpf: Report placeholder tests as SKIP, not OK
2mo ago
verifier_subprog_insn_stats.c
selftests/bpf: Test subprogram instruction statistics
3mo ago
verifier_subprog_precision.c
bpf: mark a NULL call argument precise
2mo ago
verifier_subprog_topo.c
selftests/bpf: Add tests for subprog topological ordering
7mo ago
verifier_subreg.c
bpf: replace min/max fields with struct cnum{32,64}
6mo ago
verifier_tailcall_jit.c
selftests/bpf: ignore call depth accounting for retbleed in verifier tests
5mo ago
verifier_tailcall.c
selftests/bpf: Cover the tail call caller stack depth limit
1mo ago
verifier_typedef.c
verifier_uninit.c
bpf: Report Register Type Safety errors
2mo ago
verifier_unpriv_perf.c
verifier_unpriv.c
selftests/bpf: Add tests for pc-relative insn copied into its own patch
1mo ago
verifier_unwind.c
selftests/bpf: Test unwind_exit of an exception callback
3w ago
verifier_value_adj_spill.c
verifier_value_illegal_alu.c
selftests/bpf: Add tests for ALU on pointers with CAP_PERFMON
1mo ago
verifier_value_or_null.c
verifier_value_ptr_arith.c
bpf: use reg->var_off instead of reg->off for pointers
8mo ago
verifier_value.c
verifier_var_off.c
selftests/bpf: Give the 512-byte stack boundary tests a 2 KiB twin
1mo ago
verifier_vfs_accept.c
bpf: Finish constification of 1st parameter of bpf_d_path()
1y ago
verifier_vfs_reject.c
bpf: Consolidate release argument validation
2mo ago
verifier_xadd.c
selftests/bpf: Test verifier stack-read diagnostic attribution
1mo ago
verifier_xdp_direct_packet_access.c
selftests/bpf: Test packet pointer class displacement pruning
1mo ago
verifier_xdp.c
selftests/bpf: Test access from RO map from xdp_store_bytes
9mo ago
verifier_zext.c
selftests/bpf: check zero extension of an arena 32-bit cmpxchg
2mo ago
veristat_bar.c
selftests/bpf: Exercise veristat filtering logic in a selftest
2mo ago
veristat_foo.c
selftests/bpf: Exercise veristat filtering logic in a selftest
2mo ago
vrf_socket_lookup.c
wakeup_source_fail.c
bpf: Check helper and kfunc arguments in one path
2mo ago
wakeup_source.h
selftests/bpf: Add tests for wakeup_sources kfuncs
5mo ago
wq_failures.c
bpf: Admit kfunc argument registers through check_reg_type()
2mo ago
wq.c
selftests/bpf: Add more bpf_wq tests
1y ago
xdp_dummy.c
selftests/bpf: Verify rejection of sleepable tracing prog
3mo ago
xdp_features.c
xdp_flowtable.c
selftests/bpf: Use local type for flow_offload_tuple_rhash in xdp_flowtable
6mo ago
xdp_hw_metadata.c
xdp_lb_bench.c
selftests/bpf: Fix cold_lru producing zero batch_hash in XDP LB benchmark
5mo ago
xdp_metadata.c
xdp_metadata2.c
xdp_redirect_map.c
xdp_redirect_multi_kern.c
xdp_synproxy_kern.c
xdp_tx.c
xdpwall.c
xfrm_info.c
xsk_xdp_progs.c
selftests: bpf: have a separate variable for drop test
7mo ago