Messages in this thread | | | Date | Mon, 4 Jul 2022 16:46:15 +0200 | From | Greg KH <> | Subject | Re: [PATCH stable 5.15 1/1] selftests/bpf: Add test_verifier support to fixup kfunc call insns |
| |
On Fri, Jul 01, 2022 at 09:08:58PM +0800, Po-Hsu Lin wrote: > From: Kumar Kartikeya Dwivedi <memxor@gmail.com> > > commit 0201b80772ac2b712bbbfe783cdb731fdfb4247e upstream. > > This allows us to add tests (esp. negative tests) where we only want to > ensure the program doesn't pass through the verifier, and also verify > the error. The next commit will add the tests making use of this. > > Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> > Link: https://lore.kernel.org/r/20220114163953.1455836-9-memxor@gmail.com > Signed-off-by: Alexei Starovoitov <ast@kernel.org> > [PHLin: backport due to lack of fixup_map_timer] > Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com> > --- > tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+)
Now queued up, thanks.
greg k-h
| |