summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorUdip Pant <udippant@fb.com>2020-08-26 02:20:01 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-08-26 22:47:56 +0300
commit6dc03dc71387e1dc65cf14efb49e5cf7062a2d46 (patch)
tree46675c899ce84ed38a4d43e93796afa7ca600468 /scripts/objdiff
parent7e40781cc8b767dd6530910ae12d75978d7d68e1 (diff)
downloadlinux-6dc03dc71387e1dc65cf14efb49e5cf7062a2d46.tar.xz
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
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions