[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YsL9N8ItUlQaevCs@kroah.com>
Date: Mon, 4 Jul 2022 16:46:15 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Po-Hsu Lin <po-hsu.lin@...onical.com>
Cc: stable@...r.kernel.org, memxor@...il.com,
linux-kernel@...r.kernel.org, ast@...nel.org
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@...il.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@...il.com>
> Link: https://lore.kernel.org/r/20220114163953.1455836-9-memxor@gmail.com
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
> [PHLin: backport due to lack of fixup_map_timer]
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@...onical.com>
> ---
> tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
Now queued up, thanks.
greg k-h
Powered by blists - more mailing lists