tangled
alpha
login
or
join now
tjh.dev
/
kernel
1
fork
atom
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
kernel
/
tools
/
testing
/
selftests
/
bpf
/
at
v6.8-rc5
7 folders
137 files
benchs
selftests/bpf: Close cgrp fd before calling cleanup_cgroup_environment()
2 years ago
bpf_testmod
bpf: Add __bpf_hook_{start,end} macros
2 years ago
gnu
bpf: Replace deprecated -target with --target= for Clang
2 years ago
map_tests
selftsets/bpf: Retry map update for non-preallocated per-cpu map
2 years ago
prog_tests
libbpf: feature-detect arg:ctx tag support in kernel
2 years ago
progs
selftests/bpf: add tests confirming type logic in kernel for __arg_ctx
2 years ago
verifier
bpf: Fix accesses to uninit stack slots
2 years ago
.gitignore
selftests/bpf: add uprobe_multi test binary to .gitignore
2 years ago
DENYLIST
selftests/bpf: Alphabetize DENYLISTs
3 years ago
DENYLIST.aarch64
selftests/bpf: Add test for recursion counts of perf event link kprobe
2 years ago
DENYLIST.s390x
s390/bpf: Fix indirect trampoline generation
2 years ago
Makefile
selftests/bpf: Attempt to build BPF programs with -Wsign-compare
2 years ago
Makefile.docs
selftests, bpf: Make docs tests fail more reliably
4 years ago
README.rst
selftests/bpf: Override PKG_CONFIG for static builds
2 years ago
autoconf_helper.h
selftests/bpf: Unprivileged tests for test_loader.c
3 years ago
bench.c
selftests/bpf: Add benchmark for bpf memory allocator
2 years ago
bench.h
selftests/bpf: Move get_time_ns to testing_helpers.h
2 years ago
bpf_experimental.h
bpf: Add bpf_nop_mov() asm macro.
2 years ago
bpf_kfuncs.h
selftests/bpf: Add test that uses fsverity and xattr to sign a file
2 years ago
bpf_legacy.h
selftests/bpf: Add GCC compatible builtins to bpf_legacy.h
3 years ago
bpf_rand.h
bpf: add ld64 imm test cases
8 years ago
bpf_sockopt_helpers.h
bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_SENDMSG
5 years ago
bpf_tcp_helpers.h
selftests/bpf: Verify first of struct mptcp_sock
3 years ago
bpf_util.h
selftests/bpf: cgroup_helpers.c: Fix strncpy() fortify warning
3 years ago
btf_helpers.c
selftests/bpf: Test new enum kflag and enum64 API functions
3 years ago
btf_helpers.h
selftests/bpf: Add split BTF dedup selftests
5 years ago
cap_helpers.c
bpf: selftests: Add helpers to directly use the capget and capset syscall
4 years ago
cap_helpers.h
bpf: selftests: Add helpers to directly use the capget and capset syscall
4 years ago
cgroup_getset_retval_hooks.h
selftests/bpf: Make sure bpf_{g,s}et_retval is exposed everywhere
3 years ago
cgroup_helpers.c
selftests/bpf: Add a new cgroup helper open_classid()
2 years ago
cgroup_helpers.h
selftests/bpf: Add a new cgroup helper open_classid()
2 years ago
cgroup_tcp_skb.h
selftests/bpf: Verify that the cgroup_skb filters receive expected packets.
2 years ago
config
selftests/bpf: Add tests for filesystem kfuncs
2 years ago
config.aarch64
bpfilter: remove bpfilter
2 years ago
config.s390x
bpfilter: remove bpfilter
2 years ago
config.vm
selftests/bpf: Consolidate VIRTIO/9P configs in config.vm file
2 years ago
config.x86_64
bpfilter: remove bpfilter
2 years ago
disasm.c
selftests/bpf: Disassembler tests for verifier.c:convert_ctx_access()
3 years ago
disasm.h
selftests/bpf: Disassembler tests for verifier.c:convert_ctx_access()
3 years ago
flow_dissector_load.c
selftests/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK
4 years ago
flow_dissector_load.h
selftests/bpf: Use explicit bpf_prog_test_load() calls everywhere
4 years ago
generate_udp_fragments.py
bpf: selftests: Add defrag selftests
2 years ago
get_cgroup_id_user.c
selftests/bpf: use canonical ftrace path
3 years ago
ima_setup.sh
selftests/bpf: Add test for bpf_lsm_kernel_read_file()
4 years ago
ip_check_defrag_frags.h
bpf: selftests: Add defrag selftests
2 years ago
json_writer.c
selftests/bpf: Add --json-summary option to test_progs
3 years ago
json_writer.h
selftests/bpf: Add --json-summary option to test_progs
3 years ago
liburandom_read.map
selftests/bpf: Add tests for symbol versioning for uprobe
2 years ago
netcnt_common.h
selftests/bpf: Increase SIZEOF_BPF_LOCAL_STORAGE_ELEM on s390x
3 years ago
netlink_helpers.c
selftests/bpf: Add netlink helper library
2 years ago
netlink_helpers.h
selftests/bpf: Add netlink helper library
2 years ago
network_helpers.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2 years ago
network_helpers.h
selftests/bpf: Add csum helpers
2 years ago
sdt-config.h
selftests/bpf: Add basic USDT selftests
4 years ago
sdt.h
selftests/bpf: Add basic USDT selftests
4 years ago
settings
selftests: bpf: Switch off timeout
5 years ago
task_local_storage_helpers.h
selftests/bpf: Use sys_pidfd_open() helper when possible
3 years ago
test_bpftool.py
bpftool: Only probe trace_vprintk feature in 'full' mode
4 years ago
test_bpftool.sh
selftests/bpf: Add missing files required by test_bpftool.sh for installing
4 years ago
test_bpftool_build.sh
selftests/bpf: Better clean up for runqslower in test_bpftool_build.sh
4 years ago
test_bpftool_metadata.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_bpftool_synctypes.py
bpf: Mark BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE deprecated
2 years ago
test_btf.h
selftests/bpf: allow BTF specs and func infos in test_verifier tests
3 years ago
test_cgroup_storage.c
selftests/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK
4 years ago
test_cpp.cpp
Fix typos in selftest/bpf files
3 years ago
test_dev_cgroup.c
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_doc_build.sh
selftests/bpf: Exit with KSFT_SKIP if no Makefile found
4 years ago
test_flow_dissector.c
selftests/bpf: Remove unneeded semicolon
5 years ago
test_flow_dissector.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_ftrace.sh
selftests/bpf: use canonical ftrace path
3 years ago
test_iptunnel_common.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206
6 years ago
test_kmod.sh
selftests/bpf: Fix passing arguments via function in test_kmod.sh
3 years ago
test_lirc_mode2.sh
selftests/bpf/test_lirc_mode2.sh: Exit with proper code
4 years ago
test_lirc_mode2_user.c
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_loader.c
selftests/bpf: Double the size of test_loader log
2 years ago
test_lpm_map.c
selftests/bpf: Fix map tests errno checks
4 years ago
test_lru_map.c
selftests/bpf: Fix map tests errno checks
4 years ago
test_lwt_ip_encap.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_lwt_seg6local.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_maps.c
selftests/bpf: Export map_update_retriable()
2 years ago
test_maps.h
selftests/bpf: Export map_update_retriable()
2 years ago
test_offload.py
selftests/bpf: update test_offload to use new orphaned property
2 years ago
test_progs.c
selftests/bpf: Don't truncate #test/subtest field
2 years ago
test_progs.h
selftests/bpf: Define SYS_NANOSLEEP_KPROBE_NAME for riscv
2 years ago
test_select_reuseport_common.h
Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
7 years ago
test_skb_cgroup_id.sh
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_skb_cgroup_id_user.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago
test_sock.c
selftests/bpf: Fix attach tests retcode checks
4 years ago
test_sock_addr.c
bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS
2 years ago
test_sock_addr.sh
kselftests/bpf: use ping6 as the default ipv6 ping binary if it exists
7 years ago
test_sockmap.c
selftests/bpf: Add ingress tests for txmsg with apply_bytes
3 years ago
test_sysctl.c
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_tag.c
selftests/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK
4 years ago
test_tc_edt.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_tc_tunnel.sh
selftests/bpf: add ipip6 and ip6ip decap to test_tc_tunnel
3 years ago
test_tcp_check_syncookie.sh
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_tcp_check_syncookie_user.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago
test_tcp_hdr_options.h
selftests/bpf: tests for using dynptrs to parse skb and xdp buffers
3 years ago
test_tcpbpf.h
selftests/bpf: Add Userspace tests for TCP_WINDOW_CLAMP
5 years ago
test_tcpnotify.h
selftests/bpf: add a test case for sock_ops perf-event notification
7 years ago
test_tcpnotify_user.c
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_tunnel.sh
bpf: selftests: Move xfrm tunnel test to test_progs
2 years ago
test_verifier.c
bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS
2 years ago
test_xdp_features.sh
selftests/bpf: introduce XDP compliance test tool
3 years ago
test_xdp_meta.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_xdp_redirect.sh
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_xdp_redirect_multi.sh
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_xdp_veth.sh
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
test_xdp_vlan.sh
selftests/bpf: fix missing BPF object files
3 years ago
test_xdp_vlan_mode_generic.sh
selftests/bpf: add wrapper scripts for test_xdp_vlan.sh
6 years ago
test_xdp_vlan_mode_native.sh
selftests/bpf: add wrapper scripts for test_xdp_vlan.sh
6 years ago
test_xdping.sh
selftests/bpf: Add drv mode testing for xdping
3 years ago
test_xsk.sh
selftests/xsk: display command line options with -h
2 years ago
testing_helpers.c
bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS
2 years ago
testing_helpers.h
selftests/bpf: Check VLAN tag and proto in xdp_metadata
2 years ago
trace_helpers.c
selftests/bpf: trace_helpers.c: Add a global ksyms initialization mutex
2 years ago
trace_helpers.h
selftests/bpf: trace_helpers.c: Optimize kallsyms cache
2 years ago
unpriv_helpers.c
Merge tag 'for-6.7/io_uring-sockopt-2023-10-30' of git://git.kernel.dk/linux
2 years ago
unpriv_helpers.h
selftests/bpf: Unprivileged tests for test_loader.c
3 years ago
uprobe_multi.c
selftests/bpf: Add uprobe_multi usdt test code
2 years ago
urandom_read.c
selftests/bpf: Add tests for symbol versioning for uprobe
2 years ago
urandom_read_aux.c
selftests/bpf: Add urandom_read shared lib and USDTs
4 years ago
urandom_read_lib1.c
selftests/bpf: Add tests for symbol versioning for uprobe
2 years ago
urandom_read_lib2.c
selftests/bpf: Add urandom_read shared lib and USDTs
4 years ago
verify_sig_setup.sh
selftests/bpf: Add test that uses fsverity and xattr to sign a file
2 years ago
veristat.c
selftests/bpf: fix compiler warnings in RELEASE=1 mode
2 years ago
veristat.cfg
selftests/bpf: add ability to filter programs in veristat
3 years ago
vmtest.sh
selftests/bpf: Consolidate VIRTIO/9P configs in config.vm file
2 years ago
with_addr.sh
selftests/bpf: test bpf flow dissection
7 years ago
with_tunnels.sh
selftests/bpf: test bpf flow dissection
7 years ago
xdp_features.c
selftests/bpf: Fix compiler warnings reported in -O2 mode
2 years ago
xdp_features.h
selftests/bpf: introduce XDP compliance test tool
3 years ago
xdp_hw_metadata.c
selftests/bpf: Add flags and VLAN hint to xdp_hw_metadata
2 years ago
xdp_metadata.h
selftests/bpf: Add flags and VLAN hint to xdp_hw_metadata
2 years ago
xdp_redirect_multi.c
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
xdp_synproxy.c
selftests/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago
xdping.c
selftests/bpf: Store BPF object files with .bpf.o extension
3 years ago
xdping.h
selftests/bpf: measure RTT from xdp using xdping
6 years ago
xsk.c
selftests/xsk: Support tx_metadata_len
2 years ago
xsk.h
selftests/xsk: Support tx_metadata_len
2 years ago
xsk_prereqs.sh
selftests/xsk: add option that lists all tests
2 years ago
xsk_xdp_common.h
selftests/xsk: Add a test for shared umem feature
2 years ago
xskxceiver.c
selftests/xsk: Fix for SEND_RECEIVE_UNALIGNED test
2 years ago
xskxceiver.h
selftests/xsk: Add a test for shared umem feature
2 years ago