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: <CANiq72kaTyiGhp6wP5eecYSSkLGjaOtGmf3gY9hjpz4DOBzdfw@mail.gmail.com>
Date: Thu, 15 Jan 2026 20:03:41 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Daniel Almeida <daniel.almeida@...labora.com>
Cc: Gary Guo <gary@...yguo.net>, Andreas Hindborg <a.hindborg@...nel.org>, 
	Filipe Xavier <felipeaggger@...il.com>, Miguel Ojeda <ojeda@...nel.org>, 
	Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>, 
	Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
	Benno Lossin <benno.lossin@...ton.me>, Alice Ryhl <aliceryhl@...gle.com>, 
	Trevor Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org, 
	felipe_life@...e.com, linux-kernel@...r.kernel.org, 
	Lyude Paul <lyude@...hat.com>
Subject: Re: [PATCH v8] rust: add new macro for common bitflag operations

On Thu, Jan 15, 2026 at 2:45 PM Daniel Almeida
<daniel.almeida@...labora.com> wrote:
>
> The flags may be in your uapi or they may otherwise come from C. In that case
> you’re stuck with a TryFrom or a manual conversion.
>
> I think a generated TryFrom shouldn't hurt. Just my 0.02c.

I would say let's land this patch as-is (with the doc bit I mentioned)
and then we can discuss additions on top independently.

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ