1
0
Fork 0
alistair23-linux/tools/testing/selftests/bpf/verifier
David S. Miller bb23581b9b Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
Daniel Borkmann says:

====================
pull-request: bpf-next 2019-04-12

The following pull-request contains BPF updates for your *net-next* tree.

The main changes are:

1) Improve BPF verifier scalability for large programs through two
   optimizations: i) remove verifier states that are not useful in pruning,
   ii) stop walking parentage chain once first LIVE_READ is seen. Combined
   gives approx 20x speedup. Increase limits for accepting large programs
   under root, and add various stress tests, from Alexei.

2) Implement global data support in BPF. This enables static global variables
   for .data, .rodata and .bss sections to be properly handled which allows
   for more natural program development. This also opens up the possibility
   to optimize program workflow by compiling ELFs only once and later only
   rewriting section data before reload, from Daniel and with test cases and
   libbpf refactoring from Joe.

3) Add config option to generate BTF type info for vmlinux as part of the
   kernel build process. DWARF debug info is converted via pahole to BTF.
   Latter relies on libbpf and makes use of BTF deduplication algorithm which
   results in 100x savings compared to DWARF data. Resulting .BTF section is
   typically about 2MB in size, from Andrii.

4) Add BPF verifier support for stack access with variable offset from
   helpers and add various test cases along with it, from Andrey.

5) Extend bpf_skb_adjust_room() growth BPF helper to mark inner MAC header
   so that L2 encapsulation can be used for tc tunnels, from Alan.

6) Add support for input __sk_buff context in BPF_PROG_TEST_RUN so that
   users can define a subset of allowed __sk_buff fields that get fed into
   the test program, from Stanislav.

7) Add bpf fs multi-dimensional array tests for BTF test suite and fix up
   various UBSAN warnings in bpftool, from Yonghong.

8) Generate a pkg-config file for libbpf, from Luca.

9) Dump program's BTF id in bpftool, from Prashant.

10) libbpf fix to use smaller BPF log buffer size for AF_XDP's XDP
    program, from Magnus.

11) kallsyms related fixes for the case when symbols are not present in
    BPF selftests and samples, from Daniel
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-11 17:00:05 -07:00
..
.gitignore
and.c
array_access.c bpf, selftest: test {rd, wr}only flags and direct value access 2019-04-09 17:05:47 -07:00
basic.c
basic_call.c
basic_instr.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
basic_stack.c
basic_stx_ldx.c
bounds.c
bounds_deduction.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
bounds_mix_sign_unsign.c
bpf_get_stack.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
calls.c selftests/bpf: test case for invalid call stack in dead code 2019-03-26 13:02:16 -07:00
cfg.c
cgroup_inv_retcode.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
cgroup_skb.c
cgroup_storage.c
const_or.c
ctx.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
ctx_sk_msg.c selftests/bpf: add "any alignment" annotation for some tests 2019-02-05 16:56:10 +01:00
ctx_skb.c selftests: bpf: remove duplicate .flags initialization in ctx_skb.c 2019-04-02 23:17:18 +02:00
dead_code.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
direct_packet_access.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
direct_stack_access_wraparound.c
direct_value_access.c bpf, selftest: test {rd, wr}only flags and direct value access 2019-04-09 17:05:47 -07:00
div0.c
div_overflow.c
helper_access_var_len.c
helper_packet_access.c
helper_value_access.c
jit.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
jmp32.c selftests/bpf: add "any alignment" annotation for some tests 2019-02-05 16:56:10 +01:00
jset.c selftests/bpf: add "any alignment" annotation for some tests 2019-02-05 16:56:10 +01:00
jump.c
junk_insn.c
ld_abs.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
ld_dw.c selftests/bpf: synthetic tests to push verifier limits 2019-04-04 01:27:38 +02:00
ld_imm64.c bpf: fix replace_map_fd_with_map_ptr's ldimm64 second imm field 2019-03-07 08:47:13 -08:00
ld_ind.c
leak_ptr.c
lwt.c
map_in_map.c
map_ptr_mixing.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
map_ret_val.c
masking.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
meta_access.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
perf_event_sample_period.c
prevent_map_lookup.c
raw_stack.c
ref_tracking.c selftests/bpf: test references to sock_common 2019-03-21 18:59:11 -07:00
runtime_jit.c
search_pruning.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
sock.c bpf: Test ref release issue in bpf_tcp_sock and bpf_sk_fullsock 2019-03-13 12:04:35 -07:00
spill_fill.c selftests/bpf: add "any alignment" annotation for some tests 2019-02-05 16:56:10 +01:00
spin_lock.c selftests/bpf: add "any alignment" annotation for some tests 2019-02-05 16:56:10 +01:00
stack_ptr.c
uninit.c
unpriv.c selftests/bpf: allow specifying helper for BPF_SK_LOOKUP 2019-03-21 18:59:11 -07:00
value.c
value_adj_spill.c
value_illegal_alu.c
value_or_null.c
value_ptr_arith.c bpf: add test cases for non-pointer sanitiation logic 2019-03-04 10:54:20 +01:00
var_off.c selftests/bpf: Test unbounded var_off stack access 2019-04-05 16:50:08 +02:00
xadd.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
xdp.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00
xdp_direct_packet_access.c selftests: bpf: break up the rest of test_verifier 2019-01-27 21:37:45 -08:00