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] [day] [month] [year] [list]
Message-ID: <CANiq72npbnkZKpELET4GoGWHYhb7cowvxCoQaxUXL5oZQ1Q5wQ@mail.gmail.com>
Date: Mon, 23 Jun 2025 11:39:47 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Tamir Duberstein <tamird@...il.com>
Cc: Antonio Hickey <contact@...oniohickey.com>, a.hindborg@...nel.org, alex.gaynor@...il.com, 
	aliceryhl@...gle.com, bjorn3_gh@...tonmail.com, boqun.feng@...il.com, 
	dakr@...nel.org, danielstonecote@...il.com, gary@...yguo.net, 
	linux-kernel@...r.kernel.org, lossin@...nel.org, ojeda@...nel.org, 
	rust-for-linux@...r.kernel.org, tmgross@...ch.edu
Subject: Re: [PATCH v3 1/2] rust: kernel: create `overflow_assert!` macro

On Mon, Jun 23, 2025 at 12:54 AM Tamir Duberstein <tamird@...il.com> wrote:
>
> Ack, thanks for that. Still, I think the "any expression" version
> should allow the caller to supply a custom message.

Agreed, we should add that, like we did for `static_assert!` recently.

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ