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]
Message-ID: <20240325104629.76523-1-ojeda@kernel.org>
Date: Mon, 25 Mar 2024 11:46:29 +0100
From: Miguel Ojeda <ojeda@...nel.org>
To: sashal@...nel.org
Cc: andrii@...nel.org,
	ast@...nel.org,
	linux-kernel@...r.kernel.org,
	stable@...r.kernel.org,
	Miguel Ojeda <ojeda@...nel.org>
Subject: Re: [PATCH 6.8 196/715] bpf: don't infer PTR_TO_CTX for programs with unnamed context type

Hi Sasha, all,

I got this one while built-testing 6.8.y for LoongArch with Rust enabled:

    kernel/bpf/btf.c:5690:10: error: expression which evaluates to zero treated as a null pointer constant of type 'const struct btf_type *' [-Werror,-Wnon-literal-null-conversion]
     5690 |                 return false;
          |                        ^~~~~

Upstream fb5b86cfd4ef ("bpf: simplify btf_get_prog_ctx_type() into btf_is_prog_ctx_type()") changed the function into another one, including its return type to `bool`, so it seems that one is a stable dep or perhaps making it return `NULL` here.

Hope that helps!

Cheers,
Miguel


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ