summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_verifier.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2018-12-19 15:42:55 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-12-19 15:45:43 -0800
commit6f1f78efbbdd2f65c25dafb4859001e0b1664be4 (patch)
treef01ea2389b6aa147392474e43e2d3860235b872b /tools/testing/selftests/bpf/test_verifier.c
parent9e88b9312acb9b80554c48b58668fb144720333a (diff)
parente30f5640e32455e02ba08983ebe0b46054f1f6f0 (diff)
downloadtalos-op-linux-6f1f78efbbdd2f65c25dafb4859001e0b1664be4.tar.gz
talos-op-linux-6f1f78efbbdd2f65c25dafb4859001e0b1664be4.zip
Merge branch 'line_info-check-for-ld_imm64'
Martin KaFai Lau says: ==================== This series ensures the line_info (passed by the userspace during bpf_prog_load) cannot have its line_info.insn_off pointing to a zero bpf insn code. F.e. a broken userspace tool might generate a line_info.insn_off that points to the second 8 bytes of a BPF_LD_IMM64. The first patch is the kernel change. The second patch is a new test case. ==================== Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_verifier.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud