Messages in this thread | | | Subject | Re: [PATCH v2 bpf 2/2] selftests/bpf: add test for freplace program with write access | From | Yonghong Song <> | Date | Thu, 20 Aug 2020 23:19:21 -0700 |
| |
On 8/20/20 5:28 PM, Udip Pant wrote: > 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> > ---
Acked-by: Yonghong Song <yhs@fb.com>
| |