kernel_optimize_test/net/bpf
Matt Mullins e950e84336 selftests: bpf: test writable buffers in raw tps
This tests that:
  * a BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE cannot be attached if it
    uses either:
    * a variable offset to the tracepoint buffer, or
    * an offset beyond the size of the tracepoint buffer
  * a tracer can modify the buffer provided when attached to a writable
    tracepoint in bpf_prog_test_run

Signed-off-by: Matt Mullins <mmullins@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-04-26 19:04:19 -07:00
..
Makefile bpf: fix missing bpf_check_uarg_tail_zero in BPF_PROG_TEST_RUN 2019-04-11 21:50:20 +02:00
test_run.c selftests: bpf: test writable buffers in raw tps 2019-04-26 19:04:19 -07:00