Re: [PATCH AUTOSEL 6.2 08/30] selftests/bpf: check that modifier resolves after pointer

From: Greg KH
Date: Mon Mar 20 2023 - 11:57:18 EST


On Mon, Mar 20, 2023 at 03:31:42PM +0000, Lorenz Bauer wrote:
> On Mon, Mar 20, 2023 at 12:53 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:
> >
> > From: Lorenz Bauer <lorenz.bauer@xxxxxxxxxxxxx>
> >
> > [ Upstream commit dfdd608c3b365f0fd49d7e13911ebcde06b9865b ]
> >
> > Add a regression test that ensures that a VAR pointing at a
> > modifier which follows a PTR (or STRUCT or ARRAY) is resolved
> > correctly by the datasec validator.
> >
> > Signed-off-by: Lorenz Bauer <lmb@xxxxxxxxxxxxx>
> > Link: https://lore.kernel.org/r/20230306112138.155352-3-lmb@xxxxxxxxxxxxx
> > Signed-off-by: Martin KaFai Lau <martin.lau@xxxxxxxxxx>
> > Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
>
> Hi Sasha,
>
> Can you explain why this patch was selected? I'd prefer to not
> backport the test, since it frequently leads to breakage when trying
> to build selftests/bpf on stable kernels.

Why would it break? Is that because the test is buggy, or the kernel is
buggy?

thanks,

greg k-h