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: <8B248539-70F3-4442-A8EB-33F10FDDE137@collabora.com>
Date: Thu, 15 Jan 2026 16:13:04 -0300
From: Daniel Almeida <daniel.almeida@...labora.com>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.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 15 Jan 2026, at 16:03, Miguel Ojeda <miguel.ojeda.sandonis@...il.com> wrote:
> 
> 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.

Sure, that is also fine.

Thanks for all the work, Filipe :)

— Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ