..
.gitignore
align.c
selftests/bpf: Fix "dubious pointer arithmetic" test
2020-12-10 13:11:30 -08:00
atomic_bounds.c
selftests/bpf: Add missing cleanup in atomic_bounds test
2021-02-08 17:55:01 -08:00
atomics.c
bpf: Add tests for new BPF atomic operations
2021-01-14 18:34:29 -08:00
attach_probe.c
autoload.c
bind_perm.c
selftests/bpf: Verify that rebinding to port < 1024 from BPF works
2021-01-27 18:18:15 -08:00
bpf_iter.c
selftests/bpf: Add test for bpf_iter_task_vma
2021-02-12 12:56:54 -08:00
bpf_obj_id.c
selftest/bpf: Fix compilation warnings in 32-bit mode
2020-08-13 16:45:41 -07:00
bpf_tcp_ca.c
bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE
2021-01-20 14:23:00 -08:00
bpf_verif_scale.c
selftests/bpf: Add a verifier scale test with unknown bounded loop
2021-03-04 16:44:00 +01:00
btf.c
selftests/bpf: Use the 25th bit in the "invalid BTF_INFO" test
2021-03-04 17:58:15 -08:00
btf_dedup_split.c
selftests/bpf: Add split BTF dedup selftests
2020-11-05 18:37:31 -08:00
btf_dump.c
selftests/bpf: Test "incremental" btf_dump in C format
2020-09-30 12:30:46 -07:00
btf_endian.c
selftests/bpf: Test BTF's handling of endianness
2020-09-29 12:21:23 -07:00
btf_map_in_map.c
selftests/bpf: Sync RCU before unloading bpf_testmod
2021-01-12 17:23:47 -08:00
btf_skc_cls_ingress.c
bpf: selftest: Use static globals in tcp_hdr_options and btf_skc_cls_ingress
2020-11-09 16:18:36 -08:00
btf_split.c
selftests/bpf: Add split BTF basic test
2020-11-05 18:37:30 -08:00
btf_write.c
selftests/bpf: Add checking of raw type dump in BTF writer APIs selftests
2020-11-05 18:37:30 -08:00
cg_storage_multi.c
selftests/bpf: Don't destroy failed link
2020-07-31 00:43:49 +02:00
cgroup_attach_autodetach.c
cgroup_attach_multi.c
bpf: Rename BPF_XADD and prepare to encode other atomics in .imm
2021-01-14 18:34:29 -08:00
cgroup_attach_override.c
cgroup_link.c
selftests/bpf: Add link detach tests for cgroup, netns, and xdp bpf_links
2020-08-01 20:38:28 -07:00
cgroup_skb_sk_lookup.c
check_mtu.c
selftests/bpf: Tests using bpf_check_mtu BPF-helper
2021-02-13 01:15:28 +01:00
cls_redirect.c
bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE
2021-01-20 14:23:00 -08:00
connect_force_port.c
core_autosize.c
selftests/bpf: Validate libbpf's auto-sizing of LD/ST/STX instructions
2020-10-07 18:50:27 -07:00
core_extern.c
selftest/bpf: Fix compilation warnings in 32-bit mode
2020-08-13 16:45:41 -07:00
core_read_macros.c
selftests/bpf: Add tests for user- and non-CO-RE BPF_CORE_READ() variants
2021-01-08 13:39:24 -08:00
core_reloc.c
selftests/bpf: Add tp_btf CO-RE reloc test for modules
2020-12-03 17:38:21 -08:00
core_retro.c
selftests/bpf: Fix spurious test failures in core_retro selftest
2020-08-01 23:10:42 -07:00
cpu_mask.c
d_path.c
selftests/bpf: Fix stat probe in d_path test
2020-09-21 16:18:00 -07:00
enable_stats.c
endian.c
fentry_fexit.c
fentry_test.c
fexit_bpf2bpf.c
selftests: Add selftest for disallowing modify_return attachment to freplace
2020-09-29 13:09:24 -07:00
fexit_stress.c
bpf: Add per-program recursion prevention mechanism
2021-02-11 16:19:13 +01:00
fexit_test.c
flow_dissector.c
selftest/bpf: Fix compilation warnings in 32-bit mode
2020-08-13 16:45:41 -07:00
flow_dissector_load_bytes.c
flow_dissector_reattach.c
for_each.c
selftests/bpf: Add arraymap test for bpf_for_each_map_elem() helper
2021-02-26 13:23:53 -08:00
get_stack_raw_tp.c
get_stackid_cannot_attach.c
selftests/bpf: Add get_stackid_cannot_attach
2020-07-25 20:16:35 -07:00
global_data.c
selftest/bpf: Fix compilation warnings in 32-bit mode
2020-08-13 16:45:41 -07:00
global_data_init.c
selftests/bpf: Fix check in global_data_init.
2020-09-03 17:33:31 -07:00
global_func_args.c
selftests/bpf: Add unit tests for pointers in global functions
2021-02-12 17:37:23 -08:00
hash_large_key.c
bpf: Lift hashtab key_size limit
2020-11-05 20:04:46 -08:00
hashmap.c
kfree_skb.c
ksyms.c
selftests/bpf: Ksyms_btf to test typed ksyms
2020-10-02 14:59:25 -07:00
ksyms_btf.c
bpf: selftest: Ensure the return value of the bpf_per_cpu_ptr() must be checked
2020-10-19 15:57:42 -07:00
ksyms_module.c
selftests/bpf: Test kernel module ksym externs
2021-01-12 17:24:30 -08:00
l4lb_all.c
selftests/bpf: Add subprogs to pyperf, strobemeta, and l4lb_noinline tests
2020-09-03 17:14:40 -07:00
link_pinning.c
load_bytes_relative.c
map_init.c
bpf: Zero-fill re-used per-cpu map element
2020-11-05 19:55:57 -08:00
map_lock.c
map_ptr.c
metadata.c
selftests/bpf: Test load and dump metadata with btftool and skel
2020-09-15 18:28:27 -07:00
mmap.c
selftests/bpf: Fix segmentation fault in test_progs
2020-08-11 15:36:45 +02:00
modify_return.c
module_attach.c
selftests: bpf: Add a new test for bare tracepoints
2021-01-20 14:14:05 -08:00
ns_current_pid_tgid.c
bpf, selftests: Fold test_current_pid_tgid_new_ns into test_progs.
2021-01-20 14:10:35 -08:00
obj_name.c
pe_preserve_elems.c
selftests/bpf: Add tests for BPF_F_PRESERVE_ELEMS
2020-09-30 23:21:06 -07:00
perf_branches.c
perf_buffer.c
libbpf: Add perf_buffer APIs for better integration with outside epoll loop
2020-08-21 14:26:55 -07:00
perf_event_stackmap.c
selftests/bpf: Add callchain_stackid
2020-07-25 20:16:35 -07:00
pinning.c
selftest/bpf: Test pinning map with reused map fd
2020-10-06 11:10:20 -07:00
pkt_access.c
pkt_md_access.c
probe_read_user_str.c
selftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NUL
2020-11-19 11:58:15 -08:00
probe_user.c
prog_run_xattr.c
selftest/bpf: Fix compilation warnings in 32-bit mode
2020-08-13 16:45:41 -07:00
queue_stack_map.c
raw_tp_test_run.c
selftests/bpf: Add raw_tp_test_run
2020-09-28 21:52:36 +02:00
raw_tp_writable_reject_nbd_invalid.c
raw_tp_writable_test_run.c
rdonly_maps.c
recursion.c
selftests/bpf: Improve recursion selftest
2021-02-11 16:19:24 +01:00
reference_tracking.c
selftests/bpf: Don't use deprecated libbpf APIs
2020-09-03 17:14:40 -07:00
resolve_btfids.c
selftests/bpf: Fix alignment of .BTF_ids
2020-09-30 18:11:40 -07:00
ringbuf.c
selftests/bpf: Drain ringbuf samples at the end of test
2020-12-01 20:21:45 -08:00
ringbuf_multi.c
libbpf: Fix ring_buffer__poll() to return number of consumed samples
2020-12-01 20:21:45 -08:00
section_names.c
libbpf: Add support for BPF XDP link
2020-07-25 20:37:02 -07:00
select_reuseport.c
send_signal.c
bpf: Fix compilation warning of selftests
2020-08-06 16:58:42 -07:00
send_signal_sched_switch.c
signal_pending.c
sk_assign.c
selftests/bpf: Fix endianness issue in sk_assign
2020-09-18 22:54:52 +02:00
sk_lookup.c
selftests/bpf: Fix v4_to_v6 in sk_lookup
2020-08-11 15:36:51 +02:00
sk_storage_tracing.c
bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TP
2020-11-12 18:39:28 -08:00
skb_ctx.c
selftest/bpf: Fix compilation warnings in 32-bit mode
2020-08-13 16:45:41 -07:00
skb_helpers.c
skeleton.c
snprintf_btf.c
bpf, selftests: Fix warning in snprintf_btf where system() call unchecked
2020-09-29 13:21:23 -07:00
sock_fields.c
selftests: Make sure all 'skel' variables are declared static
2020-09-29 11:43:43 -07:00
socket_cookie.c
selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie
2021-02-11 17:44:41 -08:00
sockmap_basic.c
bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE
2021-01-20 14:23:00 -08:00
sockmap_ktls.c
sockmap_listen.c
sock_map: Rename skb_parser and skb_verdict
2021-02-26 12:28:04 -08:00
sockopt.c
sockopt_inherit.c
selftests/bpf: Fix possible hang in sockopt_inherit
2020-07-16 20:57:09 +02:00
sockopt_multi.c
selftests/bpf: Fix error return code in run_getsockopt_test()
2020-11-16 22:19:07 +01:00
sockopt_sk.c
bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE
2021-01-20 14:23:00 -08:00
spinlock.c
stack_var_off.c
selftest/bpf: Add test for var-offset stack access
2021-02-10 11:05:34 -08:00
stacktrace_build_id.c
stacktrace_build_id_nmi.c
bpf: Fix compilation warning of selftests
2020-08-06 16:58:42 -07:00
stacktrace_map.c
stacktrace_map_raw_tp.c
subprogs.c
libbpf: Don't attempt to load unused subprog as an entry-point BPF program
2020-11-09 22:15:23 +01:00
tailcalls.c
selftests/bpf: Add tailcall_bpf2bpf tests
2020-09-17 19:56:07 -07:00
task_fd_query_rawtp.c
task_fd_query_tp.c
task_local_storage.c
selftests/bpf: Test deadlock from recursive bpf_task_storage_[get|delete]
2021-02-26 11:51:48 -08:00
tcp_estats.c
tcp_hdr_options.c
bpf: selftest: Use static globals in tcp_hdr_options and btf_skc_cls_ingress
2020-11-09 16:18:36 -08:00
tcp_rtt.c
tcpbpf_user.c
selftests/bpf: Add Userspace tests for TCP_WINDOW_CLAMP
2020-12-03 17:23:24 -08:00
test_bpffs.c
selftests/bpf: Add bpffs preload test.
2020-08-20 16:02:36 +02:00
test_bprm_opts.c
bpf: Add tests for bpf_bprm_opts_set helper
2020-11-18 01:36:27 +01:00
test_global_funcs.c
selftests/bpf: Add unit tests for pointers in global functions
2021-02-12 17:37:23 -08:00
test_ima.c
bpf/selftests: Update the IMA test to use BPF ring buffer
2021-02-04 16:35:05 -08:00
test_local_storage.c
selftests/bpf: Fix a compiler warning in local_storage test
2021-02-02 21:21:55 -08:00
test_lsm.c
selftests/bpf: Remove duplicate include in test_lsm
2021-01-08 13:39:40 -08:00
test_overhead.c
selftests: Remove fmod_ret from test_overhead
2020-09-28 17:20:28 -07:00
test_profiler.c
selftests/bpf: Add profiler test
2020-10-09 22:03:06 +02:00
test_skb_pkt_end.c
selftests/bpf: Add skb_pkt_end test
2020-11-13 01:42:11 +01:00
tp_attach_query.c
trace_ext.c
selftests/bpf: Adding test for arg dereference in extension trace
2020-09-29 13:09:24 -07:00
trace_printk.c
trampoline_count.c
bpf: Add per-program recursion prevention mechanism
2021-02-11 16:19:13 +01:00
udp_limit.c
varlen.c
selftests/bpf: Make test_varlen work with 32-bit user-space arch
2020-08-13 16:45:41 -07:00
vmlinux.c
xdp.c
xdp_adjust_tail.c
xdp_attach.c
xdp_bpf2bpf.c
xdp_cpumap_attach.c
xdp_devmap_attach.c
xdp_info.c
xdp_link.c
selftests/bpf: Add link detach tests for cgroup, netns, and xdp bpf_links
2020-08-01 20:38:28 -07:00
xdp_noinline.c
selftests/bpf: Initialize duration in xdp_noinline.c
2020-10-02 16:46:20 +02:00
xdp_perf.c