mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
The added test includes the following subtests: - test verifier change for btf_id_or_null - test load/create_iter/read for ipv6_route/netlink/bpf_map/task/task_file - test anon bpf iterator - test anon bpf iterator reading one char at a time - test file bpf iterator - test overflow (single bpf program output not overflow) - test overflow (single bpf program output overflows) - test bpf prog returning 1 The ipv6_route tests the following verifier change - access fields in the variable length array of the structure. The netlink load tests the following verifier change - put a btf_id ptr value in a stack and accessible to tracing/iter programs. The anon bpf iterator also tests link auto attach through skeleton. $ test_progs -n 2 #2/1 btf_id_or_null:OK #2/2 ipv6_route:OK #2/3 netlink:OK #2/4 bpf_map:OK #2/5 task:OK #2/6 task_file:OK #2/7 anon:OK #2/8 anon-read-one-char:OK #2/9 file:OK #2/10 overflow:OK #2/11 overflow-e2big:OK #2/12 prog-ret-1:OK #2 bpf_iter:OK Summary: 1/12 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200509175923.2477637-1-yhs@fb.com |
||
---|---|---|
.. | ||
.gitignore | ||
attach_probe.c | ||
bpf_iter.c | ||
bpf_obj_id.c | ||
bpf_tcp_ca.c | ||
bpf_verif_scale.c | ||
btf_dump.c | ||
btf_map_in_map.c | ||
cgroup_attach_autodetach.c | ||
cgroup_attach_multi.c | ||
cgroup_attach_override.c | ||
cgroup_link.c | ||
cls_redirect.c | ||
connect_force_port.c | ||
core_extern.c | ||
core_reloc.c | ||
cpu_mask.c | ||
enable_stats.c | ||
fentry_fexit.c | ||
fentry_test.c | ||
fexit_bpf2bpf.c | ||
fexit_stress.c | ||
fexit_test.c | ||
flow_dissector.c | ||
flow_dissector_load_bytes.c | ||
flow_dissector_reattach.c | ||
get_stack_raw_tp.c | ||
global_data.c | ||
global_data_init.c | ||
hashmap.c | ||
kfree_skb.c | ||
l4lb_all.c | ||
link_pinning.c | ||
map_lock.c | ||
mmap.c | ||
modify_return.c | ||
ns_current_pid_tgid.c | ||
obj_name.c | ||
perf_branches.c | ||
perf_buffer.c | ||
pinning.c | ||
pkt_access.c | ||
pkt_md_access.c | ||
probe_user.c | ||
prog_run_xattr.c | ||
queue_stack_map.c | ||
raw_tp_writable_reject_nbd_invalid.c | ||
raw_tp_writable_test_run.c | ||
rdonly_maps.c | ||
reference_tracking.c | ||
section_names.c | ||
select_reuseport.c | ||
send_signal.c | ||
send_signal_sched_switch.c | ||
signal_pending.c | ||
sk_assign.c | ||
skb_ctx.c | ||
skeleton.c | ||
sockmap_basic.c | ||
sockmap_ktls.c | ||
sockmap_listen.c | ||
sockopt.c | ||
sockopt_inherit.c | ||
sockopt_multi.c | ||
sockopt_sk.c | ||
spinlock.c | ||
stacktrace_build_id.c | ||
stacktrace_build_id_nmi.c | ||
stacktrace_map.c | ||
stacktrace_map_raw_tp.c | ||
tailcalls.c | ||
task_fd_query_rawtp.c | ||
task_fd_query_tp.c | ||
tcp_estats.c | ||
tcp_rtt.c | ||
test_global_funcs.c | ||
test_lsm.c | ||
test_overhead.c | ||
tp_attach_query.c | ||
trampoline_count.c | ||
vmlinux.c | ||
xdp.c | ||
xdp_adjust_tail.c | ||
xdp_attach.c | ||
xdp_bpf2bpf.c | ||
xdp_info.c | ||
xdp_noinline.c | ||
xdp_perf.c |