lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 27 Jul 2022 12:10:43 +0200
From:   Greg KH <gregkh@...uxfoundation.org>
To:     Tianchen Ding <dtcccc@...ux.alibaba.com>
Cc:     ast@...nel.org, linux-kernel@...r.kernel.org, lmb@...udflare.com,
        sashal@...nel.org, stable@...r.kernel.org
Subject: Re: [PATCH 5.10 373/575] selftests: bpf: Convert sk_lookup ctx
 access tests to PROG_TEST_RUN

On Mon, Jul 25, 2022 at 10:53:38AM +0800, Tianchen Ding wrote:
> Hi Greg.
> 
> We found a compile error when building tools/testing/selftests/bpf/ on 5.10.
> 
> tools/testing/selftests/bpf/prog_tests/sk_lookup.c:1092:15: error: 'struct bpf_sk_lookup' has no member named 'cookie'
>  1092 |  if (CHECK(ctx.cookie == 0, "ctx.cookie", "no socket selected\n"))
> 
> It requires 7c32e8f8bc33 ("bpf: Add PROG_TEST_RUN support for sk_lookup programs") from upstream.
> 
> Maybe the left patches of this patchset are needed for 5.10 LTS?
> https://lore.kernel.org/bpf/20210303101816.36774-1-lmb@cloudflare.com/

If so, please submit them with the git commit ids so that I can fix this
up.

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ