Files
android_kernel_xiaomi_sm8450/tools/testing/selftests
Udip Pant 6dc03dc713 selftests/bpf: Add test for freplace program with write access
This adds a selftest that tests the behavior when a freplace target program
attempts to make a write access on a packet. The expectation is that the read or write
access is granted based on the program type of the linked program and
not itself (which is of type, for e.g., BPF_PROG_TYPE_EXT).

This test fails without the associated patch on the verifier.

Signed-off-by: Udip Pant <udippant@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200825232003.2877030-3-udippant@fb.com
2020-08-26 12:47:56 -07:00
..
2020-06-17 00:07:38 +02:00
2020-06-29 10:02:23 +02:00
2020-08-07 11:33:27 -07:00
2020-07-07 14:11:31 -06:00
2020-08-07 11:33:27 -07:00