Merge branch 'bpf-selftests-improve-and-use-library'
Mickaël Salaün says: ==================== Improve BPF selftests and use the library (net-next tree) This series brings some fixes to selftests, add the ability to test unprivileged BPF programs as root and replace bpf_sys.h with calls to the BPF library. This is intended for the net-next tree and apply on c0e4dadb ("net: dsa: mv88e6xxx: Move forward declaration to where it is needed"). Changes since v4: * align text for function calls as requested by Daniel Borkmann (bpf_load_program and bpf_map_update_elem) * rebase Changes since v3: * keep the bzero() calls Changes since v2: * use the patches from two previous series (unprivileged tests and bpf_sys.h replacement) * include one more stdint.h * rebase on net-next * add this cover letter Changes since v1: * exclude patches not intended for the net-next tree ==================== Signed-off-by:David S. Miller <davem@davemloft.net>
No related branches found
No related tags found
Showing
- tools/include/uapi/linux/bpf.h 22 additions, 1 deletiontools/include/uapi/linux/bpf.h
- tools/lib/bpf/bpf.c 13 additions, 7 deletionstools/lib/bpf/bpf.c
- tools/lib/bpf/bpf.h 6 additions, 6 deletionstools/lib/bpf/bpf.h
- tools/testing/selftests/bpf/.gitignore 1 addition, 0 deletionstools/testing/selftests/bpf/.gitignore
- tools/testing/selftests/bpf/Makefile 3 additions, 1 deletiontools/testing/selftests/bpf/Makefile
- tools/testing/selftests/bpf/bpf_sys.h 0 additions, 108 deletionstools/testing/selftests/bpf/bpf_sys.h
- tools/testing/selftests/bpf/test_lpm_map.c 19 additions, 19 deletionstools/testing/selftests/bpf/test_lpm_map.c
- tools/testing/selftests/bpf/test_lru_map.c 76 additions, 62 deletionstools/testing/selftests/bpf/test_lru_map.c
- tools/testing/selftests/bpf/test_maps.c 83 additions, 79 deletionstools/testing/selftests/bpf/test_maps.c
- tools/testing/selftests/bpf/test_tag.c 6 additions, 5 deletionstools/testing/selftests/bpf/test_tag.c
- tools/testing/selftests/bpf/test_verifier.c 72 additions, 12 deletionstools/testing/selftests/bpf/test_verifier.c
Please register or sign in to comment